[R] R CMD check sh: line 1: make: command not found

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jul 26 23:23:18 CEST 2007


On Thu, 26 Jul 2007, David Peltier wrote:

> hello,
>
> I am using R 2.5.0 under OS X.
>
> I am having " sh: line 1: make: command not found" error message when
> I run " R CMD check " :
>
> Any help would be appreciated.

Well, that is easy: 'make' is missing.  It should be there in the OS, so 
you need to talk to your OS support for help in finding/installing it.

BTW, the list for MacOS-specific questions if r-sig-mac.

>
> R CMD check backtest
>
> * checking for working latex ... OK
> * using log directory '/backtest/trunk/backtest.Rcheck'
> * using R version 2.5.0 (2007-04-23)
> * checking for file 'backtest/DESCRIPTION' ... OK
> * checking extension type ... Package
> * this is package 'backtest' version '0.2-0'
> * checking package dependencies ... OK
> * checking if this is a source package ... OK
> * checking whether package 'backtest' can be installed ... OK
> * checking package directory ... OK
> * checking for portable file names ... OK
> * checking for sufficient/correct file permissions ... OK
> * checking DESCRIPTION meta-information ... OK
> * checking top-level files ... OK
> * checking index information ... OK
> * checking package subdirectories ... OK
> * checking R files for non-ASCII characters ... OK
> * checking R files for syntax errors ... OK
> * checking whether the package can be loaded ... OK
> * checking whether the package can be loaded with stated
> dependencies ... OK
> * checking whether the name space can be loaded with stated
> dependencies ... OK
> * checking for unstated dependencies in R code ... OK
> * checking S3 generic/method consistency ... OK
> * checking replacement functions ... OK
> * checking foreign function calls ... OK
> * checking R code for possible problems ... OK
> * checking Rd files ... OK
> * checking Rd cross-references ... OK
> * checking for missing documentation entries ... OK
> * checking for code/documentation mismatches ... OK
> * checking Rd \usage sections ... OK
> * checking data for non-ASCII characters ... OK
> * creating backtest-Ex.R ... OK
> * checking examples ... OK
> * checking tests ...
> sh: line 1: make: command not found
> ERROR
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>

-- 
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-help mailing list