search for: try_quietly

Displaying 7 results from an estimated 7 matches for "try_quietly".

2005 Mar 30
1
error messages on R CMD check
Dear all, I am trying to wrap up a package. On entering R CMD check, I get the following error messages: [...] * checking S3 generic/method consistency ... WARNING Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : package/namespace load failed for 'resper' Execution halted See section 'Generic functions and methods' of the 'Writing R Extensions' manual. * checking replacement functions ... WARN...
2004 Aug 17
1
checkS3methods() change
...TML") trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Here's the tail of the R CMD check output for limmaGUI: * checking R files for syntax errors ... OK * checking R files for library.dynam ... OK * checking S3 generic/method consistency ... WARNING Error in .try_quietly({ : Error in parse(file, n, text, prompt) : syntax error on line 446 Execution halted See section 'Generic functions and methods' of the 'Writing R Extensions' manual. * checking replacement functions ... WARNING Error in .try_quietly({ : Error in parse(file, n, text, prompt) : synt...
2005 Mar 09
1
R CMD check errors
...I wrote a library which seems to work on my PC, and on different Unix systems. As it is written in the "Writing R Extensions" manual, I execute a R CMD check on my library. I have always the same errors messages: * checking S3 generic/method consistency ... WARNING Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc, character .only = TRUE, verbose = FALSE) : package/namespace load failed for 'TATA' Execution halted See section 'Generic functions and methods' of the 'Writing R Extensions' manual. * checking replacement fun...
2004 Sep 19
1
Namespace problem
Now I try to add some C and Fortan code to my package, so the NAMESPACE file is useDynLib(eha) importFrom(survival, Surv) export(mlreg.fit, risksets) but I get ..... * checking R files for library.dynam ... OK * checking S3 generic/method consistency ... WARNING Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) : package/namespace load failed for 'eha' Execution halted See section 'Generic functions and methods' of the 'Writing R Extensions' manual. ..... I've checked that section,...
2006 Mar 14
1
R CMD check: problems possibly from mapply?
...se). After adding a function datNAtreat that uses mapply, R CMD check gives WARNINGs for "S3 generic/method consistency", "checking replacement functions" and?"checking foreign function calls", all of which are accompanied by the following error message: Error in .try_quietly ....: Error: unable to load R code in package 'utilities' Execution halted Additionally, I get?an ERROR for missing documentation entries (which I don't understand, because this function like all others is documented). R CMD check works without problems when omitting this function....
2005 Feb 23
1
package check - empty line at end of .R file
...y own use (Win XP, R 2.0.1 Patched - see details at end). As I was adding functions (and hence more source .R files) to my package it got to the point were "R CMD check" failed with the following error (output has been cut). * checking S3 generic/method consistency ... WARNING Error in .try_quietly({ : Error: Unable to load R code in package 'akmisc' Execution halted See section 'Generic functions and methods' of the 'Writing R Extensions' manual. In an attempt to figure out what went wrong I ran "R CMD INSTALL --build" and had a look a the file "akmisc...
2005 Sep 07
1
Tracebacks with tryCatch() and withCallingHandlers()?
When batch processing analysis, I use tryCatch() for failure handling and to prevent unwanted interrupts. I write detailed progress to log file and conditions (warnings and errors) are written to the same log file immediately by using withCallingHandlers(..., condition=function(c) cat(c, file=logFile)). However, I would also like to write the call stack to the log file to further simplify