Displaying 20 results from an estimated 400 matches similar to: "Strange error in R CMD check --timings"
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 =
>
2014 Sep 03
2
timings for examples in R CMD check
I'm having a very hard time making R CMD check produce a clean check on
examples because of the timings inserted into examples by R CMD check.
I am getting a difference on every example output caused by timing
information being inserted by 'R CMD check'.
The current 'Writing R Extensions' manual[1] states on p. 14:
If directory tests has a subdirectory Examples
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, ...)
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
2008 Jan 22
3
gctorture and proc.time (PR#10600)
In R version 2.6.1 (2007-11-26)
and R version 2.6.1 Patched (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
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
2005 Mar 11
3
delay() has been deprecated for 2.1.0
After a bunch of discussion in the core group, we have decided to
deprecate the delay() function (which was introduced as "experimental"
in R 0.50). This is the function that duplicates in R code the
delayed evaluation mechanism (the promise) that's used in evaluating
function arguments.
The problem with delay() was that it was handled inconsistently (e.g.
sometimes you would see
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
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
***
2005 May 14
1
make check fails after building R 2.1.0 on Fedora Core 3
I have R v2.0.1 already running on the machine in question; a fairly
generic Fedora Core 3 machine. I am trying to build the new version
2.1.0 and have not been able to troubleshoot the problem I encountered.
I'm hoping someone else has seen it and can suggest a troubleshooting
avenue to me.
The build succeeds, both from the source RPM and from the tarball. I
believed I had all the build
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)
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
2008 May 28
1
Grouped weighted.mean
Dear all --
I want to compute weighted.mean() for grouped rows.
Data frame extract is just below. For each Key, I want the mean of
IAC weighted by Wt.
DP0[1:20,]
Key
IAC Wt
2 C3-PD030020050.PD030020050.3.12.3.0 0.765 0.8590000
3 C3-PD030020050.PD030020050.3.12.3.0 0.764 0.8449651
4 C3-PD030020050.PD030020050.3.12.3.0
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
2010 Sep 08
1
winbuilder warnings and errors
Hello,
I have been developing a package for phylogenetic analysis which I
plan to submit to CRAN soon. It passes R CMD check with no warnings
on my linux and Mac OS X machines. I don't have much experience with
Windows and have been using the win-builder service to see how the
package compiles on Windows. (Thank you for this service, Uwe, it is
a huge time saver for me!)
I have tried
2008 Apr 30
1
Aggregate() questions
Dear all --
I have a data frame containing data related to heat gain through
windows. The general form is ...
Key ProfA IAC <many other numeric columns>
AAA 0 .7
AAA 10 .6
AAA 0 .66
AAA 20 .45
(more AAA rows)
(then AAB rows)
'Key' identifies the physical configuration ... rows with a given Key
contain data for same window under various
2008 May 30
1
Aggregation and the meaning of class
Dear R-ers,
My aggregation saga continues.
Using the following sequence, I can calculate any statistic for row
groups and merge the result back to all associated rows ...
> WM = by( D60, D60[ "KeyProfA"], FUN=function(x) weighted.mean( x$IAC, x$Wt))
> D60$IAC.WM = as.numeric( WM[ D60$KeyProfA])
> class( WM)
[1] "by"
Questions ...
1) Is this a reasonable way
2006 Jan 17
1
Newbie question on using friedman.test()
I am trying to use the friedman.test() on a data frame, d, but
I am receiving the following error message:
> d
AW HS IAC WA
1 6 8 3 5
2 2 2 3 6
3 7 7 8 3
4 8 5 4 5
....
20 2 5 2 7
21 7 7 6 7
22 7 8 6 8
23 6 8 4 5
24 5 7 5 2
> friedman.test(d)
Error in any(is.na(groups)) : argument "groups" is missing, with no default
I think I
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:
2015 Apr 13
3
[Compile Issue] netcat.c on HP NonStop
Greetings,
I am porting the openssh-portable 6.8 release to the HP NonStop (NSE)
platform. Prior versions were no real problem, with minor tweeks. However,
with the inclusion of regress/netcat.c, which depends on arpa/telnet.h, we
have an issue. Unfortunately, the platform does not have this file, nor
anything like it - telnet is done rather differently. We do have a version
of netcat (0.7.1