[Rd] Error during R CMD check

Duncan Murdoch murdoch.duncan at gmail.com
Tue Jun 4 13:49:03 CEST 2013


On 13-06-04 6:06 AM, Kamal wrote:
> Hi All,
>
> I am encountering the following error while performing check on the R
> package we built:
>
> R CMD check  packagename_0.99.0.tar.gz
>
> During startup - Warning message:
> Setting LC_CTYPE failed, using "C"
> * using R Under development (unstable) (2013-05-14 r62742)
> * using platform: x86_64-unknown-linux-gnu (64-bit)
> * using session charset: ASCII
> * checking for file 'packagename/DESCRIPTION' ... OK
> * checking extension type ... Package
> * this is package 'packagename' version '0.99.0'
> * 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 for sufficient/correct file permissions ... OK
> * checking whether package 'packagename' can be installed ... OK
> * checking installed package size ... OK
> * checking package directory ... OK
> * checking *DESCRIPTION meta-information ... ERROR*
> During startup - Warning message:
> Setting LC_CTYPE failed, using "C"
>
> I tried to look for solutions but couldn't find any. Any directions in
> deducing this error would be highly welcome.

You will need to describe your OS and which version of R you are using, 
but it looks as if you have environment variables describing your locale 
(probably LC_CTYPE or LANG) which are not recognized by the C runtime 
library.

Duncan Murdoch



More information about the R-devel mailing list