[R-pkg-devel] Large data package

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Wed Apr 28 00:04:44 CEST 2021


On 27 April 2021 at 10:26, Ayala Hernandez, Rafael wrote:
| I am in the process of including a large update for my package asteRisk, that will require the usage of large data files (amounting in total to ~100 MB).
| 
| Given the CRAN package size limits of 5 MB, I am wondering what is the preferred solution in these cases? I have read multiple possibilities, such as requesting to CRAN to host a data-only package that would be updated very infrequently, or hosting the data in another repository and providing functions in the main package to retrieve the required files.

In case you have not seen it yet, the R Journal article Brooke and I wrote a
few years ago covers exactly this use case, and walks through how to cover it
in a fairly detailed way.

https://journal.r-project.org/archive/2017/RJ-2017-026/index.html

@article{RJ-2017-026,
  author = {G. Brooke Anderson and Dirk Eddelbuettel},
  title = {{Hosting Data Packages via drat: A Case Study with Hurricane
          Exposure Data}},
  year = {2017},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2017-026},
  url = {https://doi.org/10.32614/RJ-2017-026},
  pages = {486--497},
  volume = {9},
  number = {1}
}

Hope this helps, Dirk

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



More information about the R-package-devel mailing list