[Rd] R-Forge SVN repositories: R CMD build/check error on Windows machines

Stefan Theussl stefan.theussl at wu-wien.ac.at
Tue Apr 29 10:45:51 CEST 2008


Deepayan Sarkar wrote:
> On 4/28/08, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
>   
>> The difference is in INSTALL, not build/check.
>>
>>  You are right that the Unix INSTALL was changed in r25808 (Aug 2003), but
>> AFAICS this was not documented at the time in [O]NEWS, nor anywhere else.
>>
>>  Can you point me to the documentation you used to implement this?
>>     
>
> FWIW, the NEWS for 2.5.0 [1] has
>
>     o	R CMD build now takes the package name from the DESCRIPTION
> 	file and not from the directory.  (PR#9266)
>
> and that does seem to work on Windows.
>   
Indeed, this works but with the side effect of getting the error message

Error in findpack(package, lib.loc) : there is no package called 'pkg'
Calls: <Anonymous> -> findpack
Execution halted
make[2]: *** [lazyload] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-pkg] Error 2
*** Installation of pkg failed ***

which comes from R CMD INSTALL as Brian Ripley pointed out already.
Nevertheless, the package gets built and you can handle the tarball with 
no further problems as always.

Stefan
> [1] https://stat.ethz.ch/pipermail/r-announce/2007/000828.html
>
> -Deepayan
>



More information about the R-devel mailing list