[Rd] R CMD check in R-3.0.0 gives warnings

Dirk Eddelbuettel edd at debian.org
Fri Mar 22 21:26:27 CET 2013


On 22 March 2013 at 21:03, Berend Hasselman wrote:
| I am running R CMD check on my package nleqslv with R-3.0.0 beta (2013-03-33 r62364) on Mac OS X 10.6.8
| 
| In contrast with R-2.15.3 R CMD check now issues a note for 
| 
| - Mercurial version control files .hgignore, .hgtags and directory .hg. These are however included in .hidden_file_exclusions.
| - typical Mac Finder files .DS_Store
| 
| All of these are ignored when executing R CMD check --as-cran.
| 
| I can't remove the .hg* files and directories. I could remove the .DS_Store files to avoid the note.

A few years ago the "Right Way To Do Things" changed.  You are really
supposed to do 'R CMD check' off the tar.gz, and you *do* have a toggle to
exclude what goes into the tar.gz:   .Rbuildignore

| The note is harmless but annoying and strikes me as slightly overzealous.

So are are many other warnings. 

But in the long run I am happy they are there so that eg my system does not
get polluted with your .hg and .DS_Store files which are of zero use to me.

Warnings are your friends. Be nice to them.

Dirk


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



More information about the R-devel mailing list