R - where should I place RDA file - /R, /data, /inst/extdata?
According to the "Writing R Extensions" manual, there are three directories where RDA files can be placed: /R , /data , /inst/extdata Its really hard to decipher the best-practice from the manual. Could someone comment on when/why to place RDA files in each of these three directories. Here's the specific cases I'm solving for: I have 1 RDA file that will be used in function examples as well as in my test_that tests (which all live in inst/tests) Starting with the manual for package writing strikes me as a good approach. The data/ directory looks like a good bet to me. As I recall, inst/extdata