Skip to content
Prev 9491 / 12125 Next

[R-pkg-devel] What to do when a package is archived from CRAN

Hi,

You can generally see what the reason is from the archive page, where it says:
A summary of the most recent check results can be obtained from the
check results archive.

On that page, https://cran-archive.r-project.org/web/checks/2023/2023-08-19_check_results_prqlr.html
is the note:

Version: 0.5.0
Check: installed package size
Result: NOTE
     installed size is 18.5Mb
     sub-directories of 1Mb or more:
     libs 18.2Mb

This is too big for CRAN, see
https://cran.r-project.org/web/packages/policies.html quoted here:

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.

Sarah
On Sat, Aug 26, 2023 at 4:26?PM SHIMA Tatsuya <ts1s1andn at gmail.com> wrote: