I found this page describing what "checking for DESCRIPTION meta-information" actually does. http://r-pkgs.had.co.nz/check.html The most likely problem to me seemed the encoding.
I also found this post: http://r.789695.n4.nabble.com/Error-during-R-CMD-check-td4668622.html that points to an incorrectly set locale. I noticed RStudio gives warnings about my locale when I install packages ("tar: Failed to set default locale"). This post helped me solve that: http://davidprakash.blogspot.be/2011/05/r-error-tar-failed-to-set-default.html So essentially, running "defaults write org.R-project.R force.LANG en_US.UTF-8" in my Terminal and restarting RStudio fixed the problem. On Wed, Apr 29, 2015 at 3:52 PM, Bart Aelterman <[email protected]> wrote: > Hi, > > I am writing a R package "fishtracking" using RStudio on mac, but checking > the package fails with the following output: > > * using log directory '/path/to/my/package/fishtracking.Rcheck' > * using R version 3.2.0 (2015-04-16) > * using platform: x86_64-apple-darwin13.4.0 (64-bit) > * using session charset: ASCII > * using option '--as-cran' > * checking for file 'fishtracking/DESCRIPTION' ... OK > * this is package 'fishtracking' version '0.1' > * checking CRAN incoming feasibility ... NOTE > Maintainer: 'Bart Aelterman <[email protected]>' > New submission > > The Title field should be in title case, current version then in title > case: > 'Manage Fish Tracking Data From VEMCO Telemetry' > 'Manage Fish Tracking Data from VEMCO Telemetry' > * checking package namespace information ... OK > * checking package dependencies ... NOTE > No repository set, so cyclic dependency check skipped > * 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 for sufficient/correct file permissions ... OK > * checking whether package 'fishtracking' can be installed ... OK > * checking installed package size ... OK > * checking package directory ... OK > * checking DESCRIPTION meta-information ... ERROR > During startup - Warning messages: > 1: Setting LC_CTYPE failed, using "C" > 2: Setting LC_TIME failed, using "C" > 3: Setting LC_MESSAGES failed, using "C" > 4: Setting LC_MONETARY failed, using "C" > Status: 1 ERROR, 2 NOTEs > > > As adviced by a colleague of mine, I am using the --as-cran option. When > he checks the package on Windows, no error is returned. > As noted in the output, I'm using R 3.2.0 on mac (OSX 10.9.5 Mavericks). > The output of the 00check.log is noted above. The output of 00install.out > is: > > During startup - Warning messages: > 1: Setting LC_CTYPE failed, using "C" > 2: Setting LC_TIME failed, using "C" > 3: Setting LC_MESSAGES failed, using "C" > 4: Setting LC_MONETARY failed, using "C" > * installing *source* package 'fishtracking' ... > ** R > ** preparing package for lazy loading > ** help > *** installing help indices > ** building package indices > ** testing if installed package can be loaded > During startup - Warning messages: > 1: Setting LC_CTYPE failed, using "C" > 2: Setting LC_TIME failed, using "C" > 3: Setting LC_MESSAGES failed, using "C" > 4: Setting LC_MONETARY failed, using "C" > * DONE (fishtracking) > > The content of my DESCRIPTION file is: > > Package: fishtracking > Title: Manage Fish Tracking Data From VEMCO Telemetry > Date: 2015-04-29 > Version: 0.1 > Author: Bart Aelterman > Maintainer: Bart Aelterman <[email protected]> > Description: Will help you manage fish tracking telemetry data. It contains > a module to load data in a database, perform resendency search and > other useful > techniques. > Depends: R (>= 3.2.0) > License: GPL > LazyData: true > Imports: > lubridate, > DBI > Suggests: > testthat > > > I don't know what "checking DESCRIPTION meta-information" actually checks > for and I don't know where to find the meta-information. Has anyone > experienced this problem before? > > Thanks a lot, > > -- > > *Bart Aelterman* > > Informatiecoördinator > > Instituut voor Natuur- en Bosonderzoek (INBO) > > Kliniekstraat 25, 1070 Brussel > > tel 02 525 02 21 > > [email protected] > > www.inbo.be > -- *Bart Aelterman* Informatiecoördinator Instituut voor Natuur- en Bosonderzoek (INBO) Kliniekstraat 25, 1070 Brussel tel 02 525 02 21 [email protected] www.inbo.be [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
