[Rd] Preferred way to include internal data in package?
ccberry at ucsd.edu
Mon Aug 4 22:04:45 CEST 2014
Keirstead, James E <j.keirstead <at> imperial.ac.uk> writes:
> I’m developing a package and would like to include some data sets for
> internal use only, e.g.
> configuration parameters for functions. What is the preferred way of
> doing this? If I put them in data/,
> then R CMD check asks me to document them but I’d prefer it if they
> floated beneath the surface, without
> the users awareness.
>From WRE Section 1.1.6 Data in packages:
[The data subdirectory] should not be used for other data files needed by
the package, and the convention has grown up to use directory inst/extdata
for such files.
So, put them in inst/extdata.
More information about the R-devel