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. Thanks, Kamal [[alternative HTML version deleted]]
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
Looks like your locale settings are wrong: see ?Sys.setlocale. Does the package declare an encoding? If so, see what 'Writing R Extensions' has to say about that. On 04/06/2013 11:06, 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. > > Thanks, > Kamal > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595