[R-pkg-devel] Suggestion: improving checks during actual package submission
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Tue Sep 16 19:51:44 CEST 2025
On 2025-09-16 11:58 a.m., Leo Mada via R-package-devel wrote:
> Dear CRAN Team,
>
> Please find below some ideas how to improve the checks during a package submission.
>
> I recently submitted a new version of package Rpbd, but made some trivial mistakes during the first 2 attempts. Both could have been easily caught during the actual submission process - before even running any tests.
>
> 1. Forgot to update date
> The user should be warned if date is older than 1 week (and raise error if date is older than ... whatever triggers the error).
>
> 2. Version with leading zeroes
> I resubmitted as version 2.4.01 - as it was just a minor update and was not aware of the generated error.
>
> Both fields can be easily checked when uploading the file with the package: the DESCRIPTION file is processed anyway. The user can easily correct these errors, avoiding unnecessary checks, including additional manual checks.
You shouldn't have been uploading the package unless you had already run
the checks locally (or on one of the several different available check
services).
After all, you did check the box saying "I have checked the submission
using R CMD check --as-cran and a current version of r-devel, as
mandated by the CRAN Repository Policy. (You could do so using the
win-builder service at https://win-builder.r-project.org)".
Duncan Murdoch
More information about the R-package-devel
mailing list