[R] Error not reported while checking package "as cran"

Henrik Bengtsson henrik.bengtsson at ucsf.edu
Mon Jun 29 13:18:42 CEST 2015


Seems to be a very very recent update/requirement that hits you.  Your R
devel version might actually be "too old" and you need to install a more
recent one.

Henrik
On Jun 29, 2015 1:49 AM, "Marc Girondot" <marc_grt at yahoo.fr> wrote:

> 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
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list