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

2007-07-26 Thread Prof Brian Ripley
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

Re: [R] R CMD CHECK and require() / library() methods

2007-04-25 Thread Prof Brian Ripley
On Wed, 25 Apr 2007, Crispin Miller wrote: Hi, I have a piece of code that decides at runtime whether to load a data package (and which package to load). This is then done with a call to: library(x) (where x is a character variable containing the package name). This causes R CMD check

Re: [R] R CMD CHECK and require() / library() methods

2007-04-25 Thread Crispin Miller
Many thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley Sent: 25 April 2007 16:03 To: Crispin Miller Cc: R-help@stat.math.ethz.ch Subject: Re: [R] R CMD CHECK and require() / library() methods On Wed, 25 Apr 2007

Re: [R] R CMD check fails at package dependencies check on Fedora Core 5, works on other systems

2006-09-20 Thread Kurt Hornik
Marc Schwartz (via MN) writes: On Tue, 2006-09-19 at 22:16 +1000, Robert King wrote: Here is another thing that might help work out what is happening. If I use --no-install, ade4 actually fails as well, in the same way as zipfR. [Desktop]$ R CMD check --no-install ade4 * checking for

Re: [R] R CMD check fails at package dependencies check on Fedora Core 5, works on other systems

2006-09-20 Thread Marc Schwartz (via MN)
On Wed, 2006-09-20 at 13:20 +0200, Kurt Hornik wrote: Marc Schwartz (via MN) writes: On Tue, 2006-09-19 at 22:16 +1000, Robert King wrote: Here is another thing that might help work out what is happening. If I use --no-install, ade4 actually fails as well, in the same way as zipfR.

Re: [R] R CMD check fails at package dependencies check on Fedora Core 5, works on other systems

2006-09-19 Thread Peter Dalgaard
Robert King [EMAIL PROTECTED] writes: I'm testing a FC5 machine for use in a student lab. R 2.3.1 is installed and seems to work fine. There is one peculiarity - the logins are authenticating to a server, and a verbose flag is set somewhere, leading to lots of spurious messages like this

Re: [R] R CMD check fails at package dependencies check on Fedora Core 5, works on other systems

2006-09-19 Thread Robert King
No output from the tools command Peter Dalgaard wrote: Robert King [EMAIL PROTECTED] writes: I'm testing a FC5 machine for use in a student lab. R 2.3.1 is installed and seems to work fine. There is one peculiarity - the logins are authenticating to a server, and a verbose flag is

Re: [R] R CMD check fails at package dependencies check on Fedora Core 5, works on other systems

2006-09-19 Thread Robert King
Here is another thing that might help work out what is happening. If I use --no-install, ade4 actually fails as well, in the same way as zipfR. [Desktop]$ R CMD check --no-install ade4 * checking for working latex ... OK * using log directory '/home/rak776/Desktop/ade4.Rcheck' * using

Re: [R] R CMD check fails at package dependencies check on Fedora Core 5, works on other systems

2006-09-19 Thread Marc Schwartz (via MN)
On Tue, 2006-09-19 at 22:16 +1000, Robert King wrote: Here is another thing that might help work out what is happening. If I use --no-install, ade4 actually fails as well, in the same way as zipfR. [Desktop]$ R CMD check --no-install ade4 * checking for working latex ... OK * using

Re: [R] R CMD check error

2006-08-09 Thread Martin Maechler
Christian == Christian Hennig [EMAIL PROTECTED] on Wed, 9 Aug 2006 17:21:18 +0100 (BST) writes: Christian Dear list, R CMD check on my updated package now Christian generated the following error: Christian LaTeX errors when creating DVI version. This Christian typically

Re: [R] R CMD check error (solved)

2006-08-09 Thread Christian Hennig
Thank you Martin, Christian Dear list, R CMD check on my updated package now Christian generated the following error: Christian LaTeX errors when creating DVI version. This Christian typically indicates Rd problems. (...) Run R CMD Rd2dvi directly on the relevant Rd

Re: [R] R CMD check and RUnit

2006-08-09 Thread Gorjanc Gregor
I have created page [1] in R Wiki on this topic. http://wiki.r-project.org/rwiki/doku.php?id=developers:runit Seth, I have also managed to tweak doRUnit.R so that R CMD check gives an error if the tests fail. I will leave windows port for someone else ;) Gorjanc Gregor [EMAIL PROTECTED]

Re: [R] R CMD check for packages in a bundle

2006-04-07 Thread Robin Hankin
Hi everyone What you are trying to do does work, I do it all the time, but there are a few details to work out. Because of the above differences I actually generate the DESCRIPTION* files from my Makefile, differently depending on the target. I do too. Having a DESCRIPTION.in is

Re: [R] R CMD check for packages in a bundle

2006-04-06 Thread Paul Gilbert
I think you have to remove the DESCRIPTION.in file when you check the package stand alone. As I recall, if it exists that is the flag to indicate a bundle. Also beware that the DESCRIPTION file in the stand alone package is not exactly the same as the DESCRIPTION.in file when it is part of

Re: [R] R CMD check for packages in a bundle

2006-04-06 Thread Prof Brian Ripley
On Thu, 6 Apr 2006, Paul Gilbert wrote: I think you have to remove the DESCRIPTION.in file when you check the package stand alone. As I recall, if it exists that is the flag to indicate a bundle. Also beware that the DESCRIPTION file in the stand alone package is not exactly the same as the

Re: [R] R CMD check: problems possibly from mapply?

2006-03-14 Thread Ulrike Grömping
Sorry, just pressing the send button brought the solution :-) The problem has nothing to do with any programming issues, but rather with confusion about directories to use R CMD from. Regards, Ulrike -- Forwarded Message --- From: Ulrike Grömping [EMAIL PROTECTED] To:

Re: [R] R CMD check barfs at 'suggested' package

2006-02-01 Thread Prof Brian Ripley
R never reloads a package if not asked to, and it is usually users (not R) who `get confused'. Specifying Suggests: multtest just tells 'check' that it needs to be available: it does not tell R to load it. (It also tells install.packages enough to install it if you asked for dependencies to

Re: [R] R CMD check failure on minimal code

2005-08-16 Thread Sean Davis
On 8/15/05 5:19 PM, Prof Brian Ripley [EMAIL PROTECTED] wrote: Did you remember to declare a dependency on package 'methods'? I suspect not. Please see `Writing R Extensions'. As usual, Professor Ripley, you are correct Thanks, Sean __

Re: [R] R CMD check failure on minimal code

2005-08-15 Thread Prof Brian Ripley
Did you remember to declare a dependency on package 'methods'? I suspect not. Please see `Writing R Extensions'. setClass is not part of base R, and those checks are being run with base R only. I expect your package will not load when R is run with no default packages. (Quite a few people

Re: [R] R CMD check failure on minimal code

2005-08-15 Thread Douglas Bates
On 8/15/05, Sean Davis [EMAIL PROTECTED] wrote: I have a peculiar problem that I'm sure is a simple one, but I can't figure out what my mistake is. Can someone enlighten me? I have a simple file, class.R: ## setClass(abc,representation(a = character, b = ANY)) I have a package

Re: [R] R CMD check doesn't stop with checking examples

2005-04-25 Thread Uwe Ligges
Liaw, Andy wrote: One suggestion: After you break the check process, look at the file C:\Gregor\devel\GeneticsPed\GeneticsPed.Rcheck\GeneticsPed-Ex.R and try to see if you can run that in batch mode. You can also look into GeneticsPed-Ex.Rout that tells you where the stuff hangs. Uwe Andy

RE: [R] R CMD check doesn't stop with checking examples

2005-04-24 Thread Liaw, Andy
One suggestion: After you break the check process, look at the file C:\Gregor\devel\GeneticsPed\GeneticsPed.Rcheck\GeneticsPed-Ex.R and try to see if you can run that in batch mode. Andy From: Gorjanc Gregor Hello! I am building a package, which includes also one Fortran subroutine,

Re: [R] R CMD check errors

2005-03-12 Thread Uwe Ligges
Chris Jackson wrote: In my experience these are usually signs of an error in your NAMESPACE file, such as a function name in the NAMESPACE which does not match the function name in the package. If the NAMESPACE is not the problem (is it???) there are several other points - one has to look closer.

Re: [R] R CMD check errors

2005-03-09 Thread Chris Jackson
In my experience these are usually signs of an error in your NAMESPACE file, such as a function name in the NAMESPACE which does not match the function name in the package. Chris Ollivier TARAMASCO wrote: I wrote a library which seems to work on my PC, and on different Unix systems. As it is

Re: [R] R CMD check testing environment

2004-08-23 Thread Uwe Ligges
Ross Boylan wrote: On Sun, Aug 22, 2004 at 06:58:56PM +0200, Uwe Ligges wrote: Ross Boylan wrote: I can't tell from the docs (Writing R Extensions 1.9.1) exactly what environment the tests, examples, and vignettes that R CMD check tries to run are in. In particular: 1) how do I get the package

Re: [R] R CMD check testing environment

2004-08-22 Thread Uwe Ligges
Ross Boylan wrote: I can't tell from the docs (Writing R Extensions 1.9.1) exactly what environment the tests, examples, and vignettes that R CMD check tries to run are in. In particular: 1) how do I get the package loaded? 2) how do I access data in the data/ directory? 3) where is the material

Re: [R] R CMD check testing environment

2004-08-22 Thread Ross Boylan
On Sun, Aug 22, 2004 at 06:58:56PM +0200, Uwe Ligges wrote: Ross Boylan wrote: I can't tell from the docs (Writing R Extensions 1.9.1) exactly what environment the tests, examples, and vignettes that R CMD check tries to run are in. In particular: 1) how do I get the package loaded? 2)

Re: [R] R CMD check, Windows XP, perl

2004-06-04 Thread Prof Brian Ripley
File::Basename is part of Perl. Your @ING looks wrong (it contains no Perl system directories). Do you have any Perl environmental variables such as PERL5LIB set? On Fri, 4 Jun 2004, TEMPL Matthias wrote: Dear R users and developers, I'm trying to build a package. The R CMD build works

RE: [R] R CMD check, latex

2004-05-28 Thread TEMPL Matthias
It was an (for me not understandable) problem on miktex I´m solving my problem, by copying ..\texmf\miktex\bin\etex.exe to latex.exe I´m wondering that now R CMD check works now. Sorry, for my question to R help. Matthias -Ursprüngliche Nachricht- Von: TEMPL Matthias Gesendet:

Re: [R] R CMD check warning on predict.systemfit

2004-03-16 Thread Uwe Ligges
Arne Henningsen wrote: Hi, I added a new function predict.systemfit to our package systemfit to make it closer to other packages (e.g. lm). Now R CMD check complains that the generic function predict has only the argument object, while our function predict.systemfit has more arguments.

Re: [R] R CMD check warning on predict.systemfit

2004-03-16 Thread Arne Henningsen
Hi, thanks, Uwe and Jari, for your helpful comments! Indeed, I forgot the ... argument. R did not exactly say what was wrong. It just said: * checking S3 generic/method consistency ... WARNING predict: function(object, ...) predict.systemfit: function(object, data, se.fit, se.pred,

Re: [R] R CMD check errors

2004-03-15 Thread Thomas Stabla
On Fri, 12 Mar 2004, Uwe Ligges wrote: Thomas Stabla wrote: Hello again, I tried to isolate the source code, which causes the error messages: * checking S3 generic/method consistency ... WARNING Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only =

Re: [R] R CMD check errors

2004-03-15 Thread Uwe Ligges
Thomas Stabla wrote: On Fri, 12 Mar 2004, Uwe Ligges wrote: Thomas Stabla wrote: Hello again, I tried to isolate the source code, which causes the error messages: * checking S3 generic/method consistency ... WARNING Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc,

Re: [R] R CMD check errors

2004-03-12 Thread Thomas Stabla
Hello again, I tried to isolate the source code, which causes the error messages: * checking S3 generic/method consistency ... WARNING Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : package/namespace load failed * checking

Re: [R] R CMD check errors

2004-03-12 Thread Uwe Ligges
Thomas Stabla wrote: Hello again, I tried to isolate the source code, which causes the error messages: * checking S3 generic/method consistency ... WARNING Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : package/namespace

Re: [R] R CMD check errors

2004-03-11 Thread Martin Maechler
Thomas == Thomas Stabla [EMAIL PROTECTED] on Wed, 10 Mar 2004 17:15:50 +0100 (CET) writes: Thomas Hello, Thomas I'm getting some error messages from R CMD check I can't deal with. Thomas I'm working under Linux with R 1.8.1 Thomas The package working directory can be found

Re: [R] R CMD check errors

2004-03-11 Thread Uwe Ligges
Thomas Stabla wrote: Hello, I'm getting some error messages from R CMD check I can't deal with. I'm working under Linux with R 1.8.1 The package working directory can be found at: http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.tar.gz Here's the 00check.log produced by R CMD

RE: [R] R CMD check problems

2003-11-14 Thread Liaw, Andy
In the directory where you ran the check, you should have a subdirectory like pkg.Rcheck (substitute pkg with the name of your package). That's where the package got installed for the purpose of the check. You could try to source() the files there and see if you can find the problem. HTH, Andy

Re: [R] R CMD check

2003-07-01 Thread John Bjørnar Bremnes
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)

Re: [R] R CMD check

2003-06-30 Thread Prof Brian Ripley
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

Re: [R] R CMD check .

2003-02-12 Thread David Scott
On Thu, 13 Feb 2003, Robin Hankin wrote: Hello everybody I'm writing a package and am trying to get it past R CMD check . It has no C or Fortan code, just R code. R CMD check . reports that the examples don't work: r:Davies% R CMD check . * checking for working latex ... OK *

Re: [R] R CMD check .

2003-02-12 Thread Jeff Gentry
* checking for CRLF line endings in C sources/headers ... OK * creating Davies-Ex.R ... OK * checking examples ... ERROR Running examples failed. r:Davies% How do I tell which .Rd file is the problem? (I suspect that the examples aren't actually being executed because most of them take a

Re: [R] R CMD check .

2003-02-12 Thread David Scott
Sorry, there was a typo in my answer: On Thu, 13 Feb 2003, David Scott wrote: . . . lots of stuff cut . . examples aren't actually being executed because most of them take a long time and the error is pretty much instantaneous). Rcmd check makes a directory called libname.Rcheck. Inside

Re: [R] R CMD check .

2003-02-12 Thread Robin Hankin
Hello everybody thanks for your help with my R CMD check problem. The file Davies-Ex.Rout does indeed contain a transcript of the examples. I've found the .Rd file that contains the problem. The relevant command executes perfectly when I cut-and-paste it onto the R command line, but not when