[R] R CMD check problem

Duncan Murdoch murdoch.duncan at gmail.com
Tue Aug 2 12:47:03 CEST 2011


On 11-08-02 5:26 AM, Baidya Nath Mandal wrote:
> Dear friends,
>
> I am building an R package called *mypackage*. I followed every possible
> steps (to my understanding) for the same. I got following problem while
> doing *R CMD check mypackage*.
>
> * installing *source* package 'mypackage' ...
> ** libs
> cygwin warning:
>    MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
>    Preferred POSIX equivalent is:
> /cygdrive/c/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
>    CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
>    Consult the user's guide for more details about POSIX paths:
>      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

I believe that warning is ignorable, but you can turn it off using

set CYGWIN=nodosfilewarning

It probably didn't cause the error below.

> ERROR: compilation failed for package 'mypackage'

I don't know what did cause that error, but it's likely something in 
your src directory of the package.  What do you have there?

Duncan Murdoch

> * removing 'C:/Rpackages/mypackage.Rcheck/mypackage'.
>
> What I understood from above is that it is something with PATH variable. I
> had set the following PATH variable:
> C:\Rtools\bin;C:\Rtools\MinGW\bin;"C:\Program
> Files\R\R-2.13.0\bin";"C:\Program Files\MiKTeX
> 2.9\miktex\bin";%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;"C:\Program
> Files\HTML Help Workshop"
>
>
> Can anybody suggest what possibly could have gone wrong?
>
> Thanks,
> BN Mandal
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list