[R] Error not reported while checking package "as cran"
Marc Girondot
marc_grt at yahoo.fr
Mon Jun 29 10:49:53 CEST 2015
Dear members,
I have submitted to CRAN a new version of a package yesterday after
checking it "as cran" with the lastest 3.2.1 R version and no error was
reported.
The command I used was: R CMD check 'xxx/HelpersMG' --as-cran
However, I received reports from CRAN maintainers that I should add
imports in the NAMESPACE. The missings were some base package (utils,
graphics, etc), for example:
##############
* checking R code for possible problems ... NOTE
.BinomialConfidence : bc: no visible global function definition for 'qf'
.BinomialConfidence : bc: no visible global function definition for 'qnorm'
.... [I cut here]
##############
I have installed the devel version 3.3.0 but again using : R CMD check
'xxx/HelpersMG' --as-cran
I don't get any error:
##############
* using log directory ‘xxx/HelpersMG.Rcheck’
* using R Under development (unstable) (2015-06-26 r68594)
* using platform: x86_64-apple-darwin13.4.0 (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
.... [I cut here]
* checking PDF version of manual ... OK
* DONE
Status: OK
##############
How do the same test as the one done when the package is submitted to
CRAN ? CRAN maintainers are doing a huge work and I would like to make
their work more simple !
Thanks,
Marc
More information about the R-help
mailing list