From ccberry at ucsd.edu  Mon Aug  4 22:04:45 2014
From: ccberry at ucsd.edu (Charles Berry)
Date: Mon, 4 Aug 2014 20:04:45 +0000
Subject: [Rd] Preferred way to include internal data in package?
References: <6445D029-9700-4ACA-ABF8-79335461F260@imperial.ac.uk>
Message-ID: <loom.20140804T215821-863@post.gmane.org>

Keirstead, James E <j.keirstead <at> imperial.ac.uk> writes:

> 
> Hi,
> 
> 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. 

HTH,

Chuck



[Rd] Preferred way to include internal data in package?
Charles Berry