Skip to content
Prev 59014 / 63424 Next

Extra "Note" in CRAN submission

Dear Terry,

You misunderstand the note. The problem is that your tar.gz is too
large. The critical bit is:
Size of tarball: 7528635 bytes

The CRAN repository policies state:
"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)."

But I agree with you that this is the one note that is very easy to
overlook as it is kind of hidden after the name bit.

Best,
Henrik

Am Fr., 25. Sept. 2020 um 12:59 Uhr schrieb Therneau, Terry M., Ph.D.
via R-devel <r-devel at r-project.org>: