[Rd] Warning from R CMD build

Josef Leydold leydold at statmath.wu-wien.ac.at
Tue Dec 9 15:04:07 CET 2008


Hi,

I wonder about the reason for the following lines:

$ diff ~/local/lib64/R/bin/build /usr/lib64/R/bin/build 
40c40
< my $revision = ' $Rev: 46832 $ ';
---
> my $revision = ' $Rev: 45803 $ ';
576,579d570
<               if(-r "Makevars") {
<                   $makefiles .= " -f Makevars";
<                   R_system("${R::Vars::MAKE} $makefiles clean");
<               }

it produces a warning like

$ R-devel CMD build Runuran

[...]
* DONE (Runuran)
* creating vignettes ... OK
* cleaning src
make: *** No rule to make target `clean'.  Stop.
* running cleanup
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'Runuran_0.8.900.tar.gz'


"Writing R Extensions" however says:

Note that @file{Makevars} should not normally contain targets, as it is
(except on Windows) included before the default makefile and
@command{make}
is called without an explicit target. 


Josef



More information about the R-devel mailing list