Using the inst directory is really just be able to hijack the R Build process for making data files available. But we're not doing that anymore (#93), so why not just avoid the inst directory altogether, which makes life easier from the perspective of not needing to call system.file and needing to install the package before any code that loads data can be run.
Doing this may make testing functions that read files a bit trickier, but it seems worth looking into.
Using the
inst
directory is really just be able to hijack the R Build process for making data files available. But we're not doing that anymore (#93), so why not just avoid theinst
directory altogether, which makes life easier from the perspective of not needing to callsystem.file
and needing to install the package before any code that loads data can be run.Doing this may make testing functions that read files a bit trickier, but it seems worth looking into.