8Ginette8 / gbif.range

An R package to generate species range maps based on ecoregions and a user-friendly GBIF wrapper
MIT License
15 stars 1 forks source link

data size mighty be a problem... currently ~72Mb #5

Closed ohagen closed 8 months ago

ohagen commented 1 year ago

Packages should be of the minimum necessary size. Reasonable compression should be used for data (not just .rda files) and PDF documentation: CRAN will if necessary pass the latter through qpdf.

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.

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).

Similar considerations apply to other forms of “data”, e.g., .jar files.

Source package tarballs should if possible not exceed 10MB. It is much preferred that third-party source software should be included within the package (as e.g. a vendor.tar.xz file) than be downloaded at installation: if this requires a larger tarball a modestly increased limit can be requested at submission.

Ww must solve these in order to make it into CRAN: ecoregions.RDatab (70Mb), exrst.RData (2Mb).

ohagen commented 11 months ago

prob we will have to make a shape-file download and even support community based link maintenance...

8Ginette8 commented 11 months ago
8Ginette8 commented 8 months ago

Closing it, the other issues are already addressing this problem (removal of ecoregions.RData and URL pipeline)