[R] R CMD check

John Bjørnar Bremnes j.b.bremnes at met.no
Tue Jul 1 09:13:44 CEST 2003


The error was simply a missing end-of-line character in the last line in 
one of the R files.

Thanks to Brian Ripley and Roger Bivand.


-- 
John Bjornar Bremnes
Norwegian Meteorological Institute (met.no)
Research and Development Department
P.O.Box 43 Blindern, N-0313 Oslo, Norway
Phone: (+47) 2296 3326. Fax: (+47) 2269 6355

Prof Brian Ripley wrote:
> You have an error in the R files of your package.  Before you even do
> R CMD check, do try loading the package in R.
> 
> On Mon, 30 Jun 2003, John Bjørnar Bremnes wrote:
> 
> 
>>when using R CMD check mypkg I get the error message
>>...
>>* checking R files for library.dynam ... OK
>>* checking generic/method consistency ... WARNING
>>Error in .loadPackageQuietly(package, lib.loc) :
>>         Error in parse(file, n, text, prompt) : syntax error on line 95
>>Execution halted
>>* checking for assignment functions with final arg not named 'value' ... 
>>WARNING
>>Error in .loadPackageQuietly(package, lib.loc) :
>>         Error in parse(file, n, text, prompt) : syntax error on line 95
>>Execution halted
>>...
>>
>>What can I do to avoid this? I use R-1.7.0 on Linux RedHat.
>>
>>Any suggestions are appreciated.
>>
>>
> 
> 


-- 
John Bjornar Bremnes
Norwegian Meteorological Institute (met.no)
Research and Development Department
P.O.Box 43 Blindern, N-0313 Oslo, Norway
Phone: (+47) 2296 3326. Fax: (+47) 2269 6355




More information about the R-help mailing list