Skip to content

[R-pkg-devel] R CMD check options

6 messages · Kevin Coombes, Georgi Boshnakov, Michael Dewey +2 more

#
Hi,

I maintain a bunch of packages on CRAN. When updating packages, I often 
find two sort of NOTES on some of the platforms that CRAN checks that 
don't show up on my stupid Windows (I know that's redundant; you don't 
have to tell me) machine at home. The two most common issues are

  * spelling (especially in the DESCRIPTION file), and
  * links in the documentation with missing package anchors.

How do I enable these checks so that when I run "R CMD check --as-cran" 
it actually does behave like those CRAN machines do, so I can find and 
fix the issues before submitting the package?

Thanks,
 ? Kevin
#
In most cases, installing a recent version of R-devel will do (here, the check with it will show the notes about missing package anchors).

Georgi Boshnakov
#
And if all else fails submit to Winbuilder using the R-devel branch.

Michael
On 17/08/2024 10:05, Georgi Boshnakov wrote:

  
    
#
Slight thread hijacking: does there exist/has someone compiled a list of
the environment variables that determine R CMD check's behaviour?
On Sat, Aug 17, 2024, 9:03 AM Michael Dewey <lists at dewey.myzen.co.uk> wrote:

            

  
  
#
? Sat, 17 Aug 2024 09:17:40 -0400
Ben Bolker <bbolker at gmail.com> ?????:
https://cran.r-project.org/doc/manuals/R-ints.html#Tools

But the _R_CHECK_CRAN_INCOMING_USE_ASPELL_ variable that Kevin would
need to set to "TRUE" in order to enable the spell checks is not
documented there.
#
Thank you!
On 8/17/2024 9:24 AM, Ivan Krylov wrote: