Skip to content
Prev 11809 / 12125 Next

[R-pkg-devel] CRAN Submission Warning and Notes for `HACSim` Package

? Fri, 19 Sep 2025 09:09:01 -0400
Jarrett Phillips <phillipsjarrett1 at gmail.com> ?????:
The maintainer information is a bit of a red herring. It is always
collected by this check (before 2014, it was printed with a NOTE, then
a 'Note_to_CRAN_maintainers' until 2024 to avoid returning a NOTE for
an otherwise perfect check result); nowadays it's hidden with an OK
status unless something else is not right.

Here, the NOTE is due to the size of the source package being too
large. Is there anything that can be trimmed down? Currently, the CRAN
policy limits data and documentation to 5 MB each and the source
package tarball to 10 MB.
As noted by Duncan Murdoch, it's better to use more specific imports of
individual functions (e.g. importFrom(shinydashboardPlus,
dashboardHeader) but not importFrom(shinydashboard, dashboardHeader) at
the same time) than less specific imports of the whole package
namespace (e.g. import(shinydashboard, shinydashboardPlus) and cause
conflicts) to avoid this warning.