[R-pkg-devel] Checking should be performed on sources prepared by 'R CMD build'?

John Nolan jpnolan at american.edu
Tue May 17 18:06:17 CEST 2016


I'm building a new package and got a warning I have not seen before.  This 
is probably simple, but I don't understand what the warning means.   


I'm using RCMD check from the command line and get the warning:   
"Checking should be performed on sources prepared by 'R CMD build'."    
The full console output is below.  The RCMD build was executed immediately 
before this and had no warnings or errors.


What does this warning mean?  It seems to refer to files "prepared" by R 
CMD build, perhaps .Rd  files?  If the answer to this question doesn't 
make it clear, how do I eliminate the message?

I've tried RSeek and Google, but only find CRAN build logs where many 
packages have this warning. 

A further puzzle:  when I submitted an update to a package that gave this 
warning during a build on my system, the CRAN checks to did not give any 
warnings?


John 

 
...........................................................................

 John P. Nolan
 Math/Stat Department
 227 Gray Hall
 American University
 4400 Massachusetts Avenue, NW
 Washington, DC 20016-8050

 jpnolan at american.edu
 202.885.3140 voice
 202.885.3155 fax
 http://academic2.american.edu/~jpnolan
 
...........................................................................



Console output (running Windows 10):


C:\JohnsWork\R-Packages\gensphere>RCMD build gensphere
* checking for file 'gensphere/DESCRIPTION' ... OK
* preparing 'gensphere':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'gensphere_1.0.tar.gz'


C:\JohnsWork\R-Packages\gensphere>RCMD check --as-cran gensphere
* using log directory 'C:/JohnsWork/R-Packages/gensphere/gensphere.Rcheck'
* using R version 3.3.0 (2016-05-03)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--as-cran'
* checking for file 'gensphere/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'gensphere' version '1.0'
* checking CRAN incoming feasibility ... NOTE
Maintainer: 'John P Nolan <jpnolan at american.edu>'

New submission
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'gensphere' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... NOTE
Checking should be performed on sources prepared by 'R CMD build'. 
****************************  here is the warning *****************
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... 
OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies 
... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... OK
** found \donttest examples: check also with --run-donttest
* checking PDF version of manual ... OK
* DONE

Status: 2 NOTEs
See
  'C:/JohnsWork/R-Packages/gensphere/gensphere.Rcheck/00check.log'
for details.



	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list