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

Dirk Eddelbuettel edd at debian.org
Tue May 17 18:10:31 CEST 2016


On 17 May 2016 at 12:06, John Nolan wrote:
| I'm using RCMD check from the command line and get the warning:   
| "Checking should be performed on sources prepared by 'R CMD build'."    

[...]

| C:\JohnsWork\R-Packages\gensphere>RCMD build gensphere

Good.

| C:\JohnsWork\R-Packages\gensphere>RCMD check --as-cran gensphere

Bad -- typo. Happens to me once in a while too.  Try

    RCMD check --as-cran gensphere_1.0.tar.gz

instead, and the check will indeed use the _file_ you just created as opposed
to the _directory_ it came from.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-package-devel mailing list