[R] Problem with RCMD CHECK (or BUILD)

Ollivier TARAMASCO Ollivier.Taramasco at imag.fr
Thu Oct 11 08:40:37 CEST 2007


Dear all,

Thank you for your answers. I didn't notice there were new versions of
Rtools and gcc, and I had also problems with the order in my PATH. Now it
works!

Ollivier TARAMASCO



-----Message d'origine-----
De : r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] De
la part de Duncan Murdoch
Envoyé : mercredi 10 octobre 2007 13:50
À : Prof Brian Ripley
Cc : r-help at stat.math.ethz.ch; Markus Gesmann
Objet : Re: [R] Problem with RCMD CHECK (or BUILD)

On 10/10/2007 6:41 AM, Prof Brian Ripley wrote:
> We do recommend
> 
> Rcmd build mpkg
> 
> to build a source package, followed by
> 
> Rcmd INSTALL --build mypkg_ver.tar.gz
> 
> to install it and zip up a version for distribution.
> 
> It is 'check' and 'build', and I believe R should refuse to use CHECK or 
> BUILD (as in does on all other platforms and at one time did on Windows).

It uses the file system to find those scripts, so on case insensitive 
file systems on any platform it will accept CHECK or BUILD.  In practice 
that's Windows and MacOSX, but in theory it could be others.

Duncan Murdoch

> 
> 
> On Wed, 10 Oct 2007, Markus Gesmann wrote:
> 
>> Dear Olivier,
>>
>> I had the same problem the other day.
>> It is important that you set the PATH in the right order.
>> I use the Rtools set from http://www.murdoch-sutherland.com/Rtools/ and
created a little  batch file to set the PATH in the right order, please see
below:
>>
>> 8<------------------------------------------------------>8
>> REM CREATE R Package
>> SET PRG=C:\myProgrammes
>> SET R_PATH=%PRG%\R\R-2.5.1\bin
>> SET
PATH=%PRG%\Perl\bin\;%PRG%\Rtools\bin;%PRG%\Rtools\perl\bin;%PRG%\Rtools\Min
GW\bin;%PRG%\GTK\bin;%PRG%\MiKTeX2.6\miktex\bin;C:\Windows\system32;C:\Windo
ws;C:\Windows\System32\Wbem;c:\cygwin\bin;%PRG%\HTMLHelpWorkshop;%R_PATH%
>> ECHO %PATH%
>> Rcmd build --binary --use-zip %1
>> 8<------------------------------------------------------>8
>>
>> Kind regards,
>>
>> Markus
>>
>>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Ollivier TARAMASCO
>> Sent: 10 October 2007 09:08
>> To: r-help at stat.math.ethz.ch
>> Subject: [R] Problem with RCMD CHECK (or BUILD)
>>
>> Dear all,
>>
>>
>>
>> I have a problem with R CMD CHECK (R 2.6.0 on Windows XP)
>>
>> Even if I use R CMD CHECK on the windlgs library I get:
>>
>>
>>
>> * using log directory 'C:/PROGRA~1/R/RProgram/src/library/windlgs.Rcheck'
>>
>> * using ARGUMENT '
>>
>> ' __ignored__  R version 2.6.0 (2007-10-03)
>>
>> * checking for file 'windlgs/DESCRIPTION' ... OK
>>
>> * this is package 'windlgs' version '1.1.0'
>>
>> * checking package dependencies ... ERROR
>>
>> Pendant le démarrage - Warning messages:
>>
>> 1: In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE,  :
>>
>>  aucun package nommé 'NULL
>>
>> ' n'est trouvé
>>
>> 2: package NULL
>>
>> in options("defaultPackages") was not found
>>
>> See the information on DESCRIPTION files in the chapter 'Creating R
>>
>> packages' of the 'Writing R Extensions' manual.
>>
>>
>>
>> Any idea?
>>
>>
>>
>> Thank you.
>>
>>
>>
>> Ollivier TARAMASCO
>>
>>
>>
>>
>>        [[alternative HTML version deleted]]
>>
>>
>> This message is intended for the personal and confidential use for the
designated recipient(s) named above.  If you are not the intended recipient
of this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction or as an official
statement of Libero Ventures Ltd.  Email transmissions cannot be guaranteed
to be secure or error-free. Therefore we do not represent that this
information is complete or accurate and it should not be relied upon as
such.  All information is subject to change without notice.
>>
>> ______________________________________________
>> R-help at r-project.org 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.
>>
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at r-project.org 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.

______________________________________________
R-help at r-project.org 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.



More information about the R-help mailing list