From ripley at stats.ox.ac.uk  Tue Jun  4 13:56:19 2013
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 04 Jun 2013 12:56:19 +0100
Subject: [Rd] Error during R CMD check
In-Reply-To: <CACof4rqAOPq6BEcq13ge=bcX5Bv2p1L-p5p-7pkuKTXg=RxZ=w@mail.gmail.com>
References: <CACof4rqAOPq6BEcq13ge=bcX5Bv2p1L-p5p-7pkuKTXg=RxZ=w@mail.gmail.com>
Message-ID: <51ADD5E3.5090501@stats.ox.ac.uk>

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



[Rd] Error during R CMD check
Prof Brian Ripley