corentin barbu
2013-Oct-15 00:04 UTC
[Rd] discrepancy between r cmd check --as-cran and messages at submission
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.barbu@gmail.com> [aut, cre], Sebastian Gibb <mail@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.barbu@gmail.com>' Authors@R: 'Corentin M Barbu <corentin.barbu@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? Corentin -- ___________________ Corentin Barbu-Covantes (484) 843-1580 http://scholar.google.com/citations?hl=en&user=sxDMRdQAAAAJ "For what does it profit a man to gain the whole world, and forfeit his soul?" Mark 8:36 [[alternative HTML version deleted]]
Prof Brian Ripley
2013-Oct-15 11:30 UTC
[Rd] discrepancy between r cmd check --as-cran and messages at submission
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 at R > Author: 'Corentin M Barbu <corentin.barbu at gmail.com> [aut, cre], > Sebastian Gibb <mail at sebastiangibb.de> [ctb]' > Authors at R: 'Corentin M Barbu [aut, cre], Sebastian Gibb [ctb]' > > Maintainer field differs from that derived from Authors at R > Maintainer: 'Corentin M. Barbu <corentin.barbu at gmail.com>' > Authors at R: 'Corentin M Barbu <corentin.barbu at 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 at R is in R-devel only, and requires --as-cran. -- Brian D. Ripley, ripley at 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