[Rd] R-package preparation --as-cran behaving unexpectedly

Duncan Murdoch murdoch.duncan at gmail.com
Wed Apr 3 17:31:25 CEST 2013

On 03/04/2013 7:25 AM, Stefan Boehringer wrote:
> Dear all,
> I am trying to submit an R-package to CRAN. In preparation I do run
> R_INSTALL_TAR=/bin/tar R CMD check --as-cran parallelize.dynamic_0.9.tar.gz
> and the command finishes without warnings or errors. As a final output I get
> NOTE: There was 1 note.
> See
> ‘.../Rpackages/parallelize.dynamic/parallelize.dynamic.Rcheck/00check.log’
> for details.
> The file contains the standard output of the 'R CMD check ...' call
> precisely. If I submit this very tarball to CRAN I get rejected with
> warnings as reported from '--as-cran' checks there. In my case they are
> valid warnings about assignments in .GlobalEnv which I can certainly
> fix. However, my concern is about the discrepancy between the outputs of
> 'R CMD check --as-cran' runs locally as compared to the run on the
> CRAN-site.
> Any help is appreciated. I am running
> R version 2.15.2 (2012-10-26) -- "Trick or Treat"
> Platform: x86_64-unknown-linux-gnu (64-bit)

Presumably CRAN is now running checks from 3.0.0 (which was released 
today, and has been available for testing for more than a month).  I 
wouldn't be surprised if those are different from the 2.15.2 tests.

Duncan Murdoch

More information about the R-devel mailing list