[R-pkg-devel] Installed package size

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Mar 13 13:27:38 CET 2020


On 12 March 2020 at 20:14, Ivan Krylov wrote:
| On Thu, 12 Mar 2020 15:16:13 +0000
| Carsten Croonenbroeck <carsten.croonenbroeck using uni-rostock.de> wrote:
| >> Where a large amount of data is required (even after compression),
| >> consideration should be given to a separate data-only package which
| >> can be updated only rarely (since older versions of packages are
| >> archived in perpetuity).
| 
| If publishing the data separately from the code is acceptable, you
| could use drat [**] to set up a repository for the data package
| somewhere else, then list the data package in Suggests: and the repo in
| Additional_repositories: in the DESCRIPTION of the code package, which
| you could submit to CRAN.

Thanks for the pointer! And Neal just kindly edited a SO answer describing
this, so I updated the list of CRAN packages doing this. [1]

The best reference, though, may still be our R Journal paper on this. [2]

Hth, Dirk

[1] https://stackoverflow.com/questions/36105257/how-to-make-r-package-recommend-a-package-hosted-on-github/36105343#36105343
[2] https://journal.r-project.org/archive/2017/RJ-2017-026/index.html


-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list