[Rd] Warning from R CMD build

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 9 22:48:01 CET 2008


The message (it is not even a warning) is harmless. The change is 
documented in the NEWS file, and is useful for some packages (Matrix as I 
recall).

On Tue, 9 Dec 2008, Josef Leydold wrote:

> 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.

Note 'normally'.

>
> Josef
>
> ______________________________________________
> 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



More information about the R-devel mailing list