Ingmar Visser wrote:> Hi,
> When running R CMD check I'm getting a number of errors that I
don't
> quite follow and don't know where to start looking for an answer, any
> hints appreciated.
>
> R CMD check trunk
> * checking for working latex ... OK
> * using log directory '/Users/ivisser/Documents/projects/
> depmixProject/depmixNew/rforge/depmix/trunk.Rcheck'
> * using R version 2.6.2 (2008-02-08)
> * checking for file 'trunk/DESCRIPTION' ... OK
> * this is package 'depmixS4' version '0.1'
> * checking package dependencies ... OK
> * checking if this is a source package ... OK
> * checking whether package 'depmixS4' 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 for unstated dependencies in R code ... WARNING
> Error in get(cname, where) :
> promise already under evaluation: recursive default argument
> reference or earlier problems?
> Error: .onLoad failed in 'loadNamespace' for 'methods'
> Execution halted
>
> >AFAIK i'm not using the methods package nor namespaces so I'm
not
> sure what to do about this?
But maybe you are using some function from another package that makes
use of S4 stuff? Anyway, hard to tell without an example. Can you make
your package available on some web server to the public? Someone might
find the time to look into it (I won't have time within the next 18 hours).
Uwe Ligges
> See the information on DESCRIPTION files in the chapter 'Creating R
> packages' of the 'Writing R Extensions' manual.
> * checking S3 generic/method consistency ... WARNING
> Error in get(cname, where) :
> promise already under evaluation: recursive default argument
> reference or earlier problems?
> Error: .onLoad failed in 'loadNamespace' for 'methods'
> Execution halted
>
> >Same problem here it seems.
>
> See section 'Generic functions and methods' of the 'Writing R
> Extensions'
> manual.
> * checking replacement functions ... OK
> * checking foreign function calls ... WARNING
> Error in get(cname, where) :
> promise already under evaluation: recursive default argument
> reference or earlier problems?
> Error: .onLoad failed in 'loadNamespace' for 'methods'
> Execution halted
>
> >And again ...
>
> See the chapter 'System and foreign language interfaces' of the
> 'Writing R
> Extensions' manual.
> * 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 ... WARNING
> Error in get(cname, where) :
> promise already under evaluation: recursive default argument
> reference or earlier problems?
> Error: .onLoad failed in 'loadNamespace' for 'methods'
> Execution halted
>
> > And once more ...
>
> * checking Rd \usage sections ... WARNING
> Undocumented arguments in documentation object 'response'
> ...
>
> Functions with \usage entries need to have the appropriate \alias
> entries,
> and all their arguments documented.
> The \usage entries must correspond to syntactically valid R code.
> See the chapter 'Writing R documentation files' in manual
'Writing R
> Extensions'.
> Error in get(cname, where) :
> promise already under evaluation: recursive default argument
> reference or earlier problems?
> Error: .onLoad failed in 'loadNamespace' for 'methods'
> Execution halted
>
>
> The \usage entries for S3 methods should use the \method markup and not
> their full name.
> See the chapter 'Writing R documentation files' in manual
'Writing R
> Extensions'.
>
>
> Ingmar Visser
> Department of Psychology, University of Amsterdam
> Roetersstraat 15
> 1018 WB Amsterdam
> The Netherlands
> t: +31-20-5256723
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.