similar to: [Q] R CMD check signals error on code that works from UI

Displaying 20 results from an estimated 1000 matches similar to: "[Q] R CMD check signals error on code that works from UI"

2010 Apr 15
1
"°" not accepted under MacOSX
I am developping a package (pgirmess) that since long does not go through CRAN MacOSX checks, just because I have this command in one of the examples. text(mydata[,3],mydata[,4],paste(round(dirs,0),"?"),cex=0.7) It makes: <ERROR: re-encoding failure from encoding 'latin1'> text(mydata[,3],mydata[,4],paste(round(dirs,0),"+ + + + cleanEx() +
2006 Feb 15
1
S3 generics without NS and cleanEx()
Good morning, we recently observed a problem with importing S3 generics from a foreign package (without namespace), defining a S3 method in a package _with_ namespace and the `cleanEx()' function which is automatically generated and executed before examples are run by R CMD check. To be more precise. Package `strucchange' defines a S3 generic sctest <- function(x, ...)
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
2010 Apr 22
1
Question 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 (configuration should be correct), i use it to re-check my old package. I found the following prolem when checking EXAMPLEs in each function, which did not exist before this
2004 Aug 10
0
Check failed after compilation (PR#7159)
Full_Name: Madeleine Yeh Version: 1.9.1 OS: AIX 5.2 Submission from: (NULL) (151.121.225.1) After compiling R-1.9.1 on AIX 5.2 using the IBM cc compiler, I ran the checks. One of them failed. Here is the output from running the check solo. root@svweb:/fsapps/test/build/R/1.9.1/R-1.9.1/tests/Examples: ># ../../bin/R --vanilla < stats-Ex.R R : Copyright 2004, The R
2008 Feb 25
1
r44608 fails make check-all in scatter.smooth example
Dear List, Having had my appetite sufficiently whetted by Prof. Ripley's email about the new graphics capabilities in Unixes, I wanted to try them out. I updated to svn r44608, configured with the following options: R is now configured for x86_64-unknown-linux-gnu Source directory: .. Installation directory: /usr/local C compiler: gcc -O3 -g -std=gnu99
2003 Oct 09
2
R-1.8.0 on Sparc Solaris 8, gcc3.2.1, bus error and core dump (PR#4485)
Example run and stack trace: wazor /s/src/stat/R-1.8.0/tests/Examples $ ../../bin/R --no-save < base-Ex.R R : Copyright 2003, The R Development Core Team Version 1.8.0 (2003-10-08) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a
2005 Mar 31
1
R-alpha_2005-03-31: make check fails on Debian 3.0
I've just tested R-alpha_2005-03-31.tar.gz. ./configure and make ran without any apparent errors, but make check failed: 58 (0) $ make check 2>&1 | tee make_check-logg make[1]: Entering directory `/usr/local/src/R/R-alpha/tests' make[2]: Entering directory `/usr/local/src/R/R-alpha/tests' make[3]: Entering directory `/usr/local/src/R/R-alpha/tests/Examples' make[4]:
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 ***
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
2018 Nov 12
2
Better cleanup of example session during check
I have a couple of packages (?fiery? and ?reqres') that uses a mock of a rook request for their examples. The mock is an R6 object containing a rawConnection, along with a finalizer that closes this connection when the object is removed. So far so good. I?ve recently been getting CRAN errors due to the rawConnection not being closed in examples > cleanEx() Error: connections left open:
2007 May 23
0
make check fails tools-Ex in 2.5.0
Hi folks, I'm attempting to compile and install 2.5.0, and "make check" is failing one of the earlier sanity tests. I'll append the relevant portion of the Rout.fail file below, but I've narrowed it down manually to a single command: > sessionInfo() R version 2.5.0 (2007-04-23) x86_64-unknown-linux-gnu locale:
2023 Jul 02
1
Strange error in R CMD check --timings
This SO post: 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") >
2006 May 18
1
R CMD check: "T used instead of TRUE"
Hello everybody, I am just trying to put together my first own CRAN-able package. I have completed the programming and my code works OK. But now when I perform R CMD check agsemisc_1.0-2.tar.gz and R gets to the step * checking examples ... I receive the following error message: > print(bwplot(Species~Sepal.Length, data=iris, panel=panel.bwstrip)) Error in rep(T, length(x)) : T used
2010 Apr 13
2
.Fortran interface error
Hi all, I'm preparing a package which uses .Fortran to interface a Fortran 95 function. This F95 function simply receives the name of a file from R, opens this file and forwards its content to a F95 module, which, in turn, makes the real computation. The F95 module is a pre-existing one and I'm trying to use it in its actual state. Thus, data transfer between R and this F95 module is
2023 Jul 02
1
Strange error in R CMD check --timings
Am 02.07.23 um 18:01 schrieb Duncan Murdoch: > This SO post: 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 = >
2010 Sep 23
1
Behavior of R CMD build and library() w.r.t. setGeneric-like functions
Hello developeRs, Apologies in advance for a rather long email, but to describe the problem, I need to step through many details. I have been working on a new dispatching system (futile.paradigm on CRAN) based on functional programming concepts that is an alternative to S3 and S4 dispatching. I use a declarative syntax using guard statements to control the dispatching between function variants. I
2018 Nov 12
0
Better cleanup of example session during check
On 12/11/2018 8:09 AM, Thomas Lin Pedersen wrote: > I have a couple of packages (?fiery? and ?reqres') that uses a mock of a rook request for their examples. The mock is an R6 object containing a rawConnection, along with a finalizer that closes this connection when the object is removed. So far so good. I?ve recently been getting CRAN errors due to the rawConnection not being closed in
2003 Jul 09
2
Packages, generics, S3 and S4
My question has two parts. The first is with regard to the frame or environment in which generic functions are defined in packages. It seems as though they are defined (i.e. exist as objects) in frame 1, even when defined in a package. The following is a short example: setClass("track",representation(x="numeric",y="numeric")) plotTrack <- function(x,y,...)
2011 May 26
4
Applying "toupper" to only portions of text strings
Colleagues Assume that I have a vector containing some text strings, some of which contain a particular character. I could like to apply "toupper" to the text before the character. For example (in this case, "|" is the particular character): ORIGINAL: TEXT <- c("aaaa", "bbb|cc", "|ddd") AFTER APPLICATION OF toupper: TEXT <-