[R-pkg-devel] Storing Data Used in an Example
On Wed, Sep 20, 2017 at 11:32 AM, Roy Mendelssohn - NOAA Federal
<roy.mendelssohn at noaa.gov> wrote:
Hi All: I have a package whose main function is to download environmental data using a service. I have added some plot routines, As it is, my examples of just the downloads push the CRAN limits on time, so I want the plot examples to use data that has already been downloaded and stored as part of the package. Questions: 1. Most appropriate place to store the example data (they will be .RData files).
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Data-in-packages
2. What size of data set is considered to be getting too large to be appropriate to include in a package.
The CRAN Repository Policy says: "As a general rule, neither data nor documentation should exceed 5MB (which covers several books). A CRAN package is not an appropriate way to distribute course notes, and authors will be asked to trim their documentation to a maximum of 5MB."
Thanks, -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected" "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com R/Finance 2017 | www.rinfinance.com