On 15/10/2013 01:04, corentin barbu wrote:
Dear r-devel list,

I've observed at both of my submissions that issues arise at submission
that were not pointed out by
R cmd check --as-cran

For example at my last submission:

You have
VignetteBuilder: knitr
but there is nothing looking like a vignette in your source package....

We also see:

* checking DESCRIPTION meta-information ... NOTE
Author field differs from that derived from Authors@R
   Author:    'Corentin M Barbu <corentin.ba...@gmail.com> [aut, cre],
Sebastian Gibb <m...@sebastiangibb.de> [ctb]'
   Authors@R: 'Corentin M Barbu [aut, cre], Sebastian Gibb [ctb]'

Maintainer field differs from that derived from Authors@R
   Maintainer: 'Corentin M. Barbu <corentin.ba...@gmail.com>'
   Authors@R:  'Corentin M Barbu <corentin.ba...@gmail.com>'

Both were stupid mistakes, largely due to my inexperience but none was
detected by R cmd check --as-cran or even at build by

http://win-builder.r-project.org/upload.aspx

Is there anything else I can use to better check my packages before
submission?

Yes, follow the CRAN policies:

'Please ensure that R CMD check --as-cran has been run on the tarball to be uploaded before submission. This should be done with the current version of R-devel (or if that is not possible, current R-patched or the current release of R.)'

The check of Authors@R is in R-devel only, and requires --as-cran.


--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to