search for: checkexenv

Displaying 20 results from an estimated 22 matches for "checkexenv".

2006 Feb 15
1
S3 generics without NS and cleanEx()
...r.gz and http://www.imbe.med.uni-erlangen.de/~hothorn/modeltools_0.2-3.tar.gz is required. The example below can be reproduced with both R-2.2.1 and R-2.3.0. Best wishes, Torsten R> invisible(options(echo = TRUE)) R> ### * <HEADER> R> ### R> attach(NULL, name = "CheckExEnv") R> assign(".CheckExEnv", as.environment(2), pos = length(search())) # base R> ## add some hooks to label plot pages for base and grid graphics R> setHook("plot.new", ".newplot.hook") R> setHook("persp", ".newplot.hook") R> setH...
2013 Jan 30
1
R CMD check: Error in get("ptime", pos = "CheckExEnv") ...
Hi, Does anyboody have insight into what this error terminating "R CMD check" on an in-house package may imply? > ### > cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n") Error in get("ptime", pos = "CheckExEnv") : unused argument(s) (pos = "CheckExEnv") Calls: cat -> cat.default -> <Anonymous> -> get Execution halted It happens in the "* checking examples ... ERROR" section, yet the ex...
2010 Apr 21
2
problem of R CMD check
Hi all, Today, i just installed the newest R version 2.10.1 and other necessary tools for building R package under windows,e.g. Rtools, perl. All are the newest version. After the correct configuration under windows, i use it to re-check my old package. I found the following prolem when checking EXAMPLE, which did not exist before this re-installation. ######## * checking examples ... ERROR
2014 Sep 03
2
timings for examples in R CMD check
...hether I copy a version of the mypkg-Ex.Rout file with or without timing rows, I get differences reported for every example by the (spurious?) insertion of timings by R CMD check. e.g. 8169a8549,8550 > > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > > base::cat("textplot", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TR...
2023 Jul 02
1
Strange error in R CMD check --timings
...https://stackoverflow.com/q/76583828 describes a strange R CMD check error. Depending on the contents of a comment in one of the examples sections of a help page, an error like this could be triggered: > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("read_net", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE,...
2023 Jul 02
1
Strange error in R CMD check --timings
...om/q/76583828 describes a strange R > CMD check error. Depending on the contents of a comment in one of the > examples sections of a help page, an error like this could be triggered: > > > base::assign(".dptime", (proc.time() - get(".ptime", pos = > "CheckExEnv")), pos = "CheckExEnv") > > base::cat("read_net", base::get(".format_ptime", pos = > 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", > file=base::get(".ExTimings", pos = 'CheckExEnv')...
2004 Oct 28
2
Errors during make check
On a SUN 280R running Solaris 9... The configure and make steps completed without errors. But when I try to perform the make check step, I get the following: $ make check FORCE=FORCE `Makedeps' is up to date. running code in 'base-Ex.R' ...*** Error code 1 make: Fatal error: Command failed for target `base-Ex.Rout' Current working directory /usr/local/R-2.0.0/tests/Examples ***
2008 Jan 22
3
gctorture and proc.time (PR#10600)
...atched (2008-01-19 r44061) on openSUSE 10.2 (X86-64) > gctorture() > proc.time() Error: protect(): protection stack overflow The problem with this is that then R CMD check --use-gct foo ALWAYS FAILS with > cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n") Error in proc.time() - get("ptime", pos = "CheckExEnv") : non-numeric argument to binary operator This does not happen in R version 2.4.1 (2006-12-18) I was going to have my computing class try out --use-gct. I guess not until this is fixed. -- Charle...
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers, I was used to package pgirmess under Windows with everything OK, but, for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I have a double boot computer and work more and more under unix) and R 2.7.0. Everything went OK except this: sudo R CMD check pgirmess ..... * checking examples ... ERROR Running examples in 'pgirmess-Ex.R' failed. The error most
2003 Oct 09
2
R-1.8.0 on Sparc Solaris 8, gcc3.2.1, bus error and core dump (PR#4485)
...ontributors. Type 'contributors()' for more information. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R. > ### * <HEADER> > ### > attach(NULL, name = "CheckExEnv") > assign(".CheckExEnv", as.environment(2), pos = length(search())) # base > ## This plot.new() patch has no effect yet for persp(); > ## layout() & filled.contour() are now ok > assign("plot.new", + function() { + .Internal(plot.new()) + pp...
2004 Aug 10
0
Check failed after compilation (PR#7159)
...ation and 'citation()' on how to cite R in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R. > ### * <HEADER> > ### > attach(NULL, name = "CheckExEnv") > assign(".CheckExEnv", as.environment(2), pos = length(search())) # base > ## add some hooks to label plot pages, at least for base graphics > .newplot.hook <- function() + { + pp <- par(c("mfg","mfcol","oma","mar")) +...
2006 May 18
1
R CMD check: "T used instead of TRUE"
...a reference to that error message and in https://stat.ethz.ch/pipermail/r-devel/2006-February/036520.html found a mention of function cleanEx() that is apparently generated by R CMD check(?) and that contains delayedAssign("T", stop("T used instead of TRUE"), assign.env = .CheckExEnv) delayedAssign("F", stop("F used instead of FALSE"), assign.env = .CheckExEnv) (BTW: A rather fascinating feature. I would not have thought this possible.) My questions: - Is my perception correct that this is meant as a check for robust programming style? (Because...
2005 Mar 11
3
delay() has been deprecated for 2.1.0
...s accessed, it will be evaluated and you'll see the value. A few packages made use of delay(). I have replaced all of those uses with delayedAssign(). The most common usage was something like the QA code uses: assign("T", delay(stop("T used instead of TRUE")), pos = .CheckExEnv) This translates to delayedAssign("T", stop("T used instead of TRUE"), eval.env = .GlobalEnv, assign.env = .CheckExEnv) In most cases the "eval.env = .GlobalEnv" argument is not necessary (and in fact it is often a bug, as it was in curve()). The environment where...
2007 May 23
0
make check fails tools-Ex in 2.5.0
...r.ac.uk High Performance Systems Support, Phone: 01524 593543 Information Systems Services, Fax: 01524 594459 Lancaster University, Lancaster LA1 4YW ----- Tail end of tools-Ex.Rout.fail: > library('tools') > > assign(".oldSearch", search(), pos = 'CheckExEnv') > assign(".oldNS", loadedNamespaces(), pos = 'CheckExEnv') > cleanEx(); nameEx("Rdutils"); > ### * Rdutils > > flush(stderr()); flush(stdout()) > > ### Name: Rdutils > ### Title: Rd Utilities > ### Aliases: Rd_db Rd_parse > ### Keywo...
2005 May 14
1
make check fails after building R 2.1.0 on Fedora Core 3
...' ...make[4]: *** [base-Ex.Rout] Error 1 make[4]: Leaving directory `/home/billb/tmp/R-2.1.0/tests/Examples' make[3]: *** [test-Examples-Base] Error 2 ... The output file: [billb at tioga R-2.1.0]$ tail -5 tests/Examples/base-Ex.Rout.fail > assign("ptime", proc.time(), env = .CheckExEnv) > grDevices::postscript("base-Examples.ps") Error in .Internal(PS(file, old$paper, old$family, old$encoding, old $bg, : no internal function "PS" Execution halted If I run the executable I built, and make a call to the postscript() function, I get the same error....
2010 Sep 08
1
winbuilder warnings and errors
...this happened in the example checks (?), if not, ignore the following last lines of example output: << here I snipped a bunch of example output that looks fine>> > > ### * <FOOTER> > ### > cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n") Time elapsed: 13.23 0.2 13.46 NA NA > grDevices::dev.off() null device 1 > ### > ### Local variables: *** > ### mode: outline-minor *** > ### outline-regexp: "\\(> \\)?### [*]+" *** > ### End: *** > quit('no') ======== End o...
2016 Apr 12
0
Dispatch issue in package check?
...\usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in '<pkg>-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: foo > ### Title: <foo title> > ### Aliases: foo foo.default foo.formula <"Foo" etc> > > ### ** Examples > > foo(c(5,4,6,5,7,9,8,11,12,10), <other arguments>) Error in UseMethod("foo") : no applicable method for...
2015 Feb 18
0
smoothScatter() and the KernSmooth package
...travis-ci.org (R CMD check) I get the following error (which I don't get on my machine nor on the Bioconductor build system). * checking examples ... ERROR Running examples in ?EDASeq-Ex.R? failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: MDPlot-methods > ### Title: Methods for Function 'MDPlot' in Package 'EDASeq' > ### Aliases: MDPlot MDPlot-methods MDPlot,matrix,numeric-method > ### MDPlot,SeqExpressionSet,numeric-method > ### Keywords: methods > > ### ** Examples > &gt...
2001 Oct 25
1
R Performance on P-4 RE: P-4
Is this still an issue to this community? If so, and results, I may pick this up. Intel does have C++ and Fortran compilers. You might see a compiler among the list under the links http://cedar.intel.com/cgi-bin/ids.dll/topic.jsp?catCode=BON. Evaluation licenses are available at http://developer.intel.com/software/products/compilers/ If they are promising, perhaps binaries could at least be
2017 Aug 11
2
package building problem Centos 7 & R 3.4.1
...ata? directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in ?reproducer-Ex.R? failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: boxplotAndDensityCurveOnHistogram > ### Title: boxplotAndDensityCurveOnHistogram > ### Aliases: boxplotAndDensityCurveOnHistogram > > ### ** Examples > > library(ggplot2) Error in library(ggplot2) : there is no package called ?ggplot2? Execution halted * chec...