similar to: R CMD check testing environment

Displaying 20 results from an estimated 10000 matches similar to: "R CMD check testing environment"

2004 Nov 05
0
R check passes code and docs that don't match
I have code and documentation that don't match, but R CMD check didn't flag it. in mspath.R mspath <- function(formula, # formula with observed Markov states ~ observation times (required) qmatrix, # matrix of 1s and 0s with indices of allowed transitions (diagonal is ignored) (required) misc = FALSE, ematrix = NULL, # matrix
2007 Apr 18
1
undefined symbol: Rf_rownamesgets
I get the error undefined symbol: Rf_rownamesgets when I try to load my package, which include C++ code that calls that function. This is particularly strange since the code also calls Rf_classgets, and it loaded OK with just that. Can anyone tell me what's going on? For the record, I worked around this with the general purpose attribute setting commands and R_RowNamesSymbol. I
2010 Jan 26
1
stable, testing, and backports
The cran2deb archives target testing. I just pulled a package from them onto a stable system; the library loaded but said > library(akima) Warning message: package 'akima' was built under R version 2.10.0 Are this and other packages likely to work correctly with different R's (2.7 in the case of stable)? How well are they likely to work with a backported R? The R version would
2010 Jan 13
1
Rd output garbled in some circumstances
I'm having trouble getting correct help output in some circumstances for a package I've created. Though this is not an issue with the current R, I would like my package to work with previous ones as well. I'm looking for suggestions about how I could rework my .Rd file so that it will work with prior R's. In particular, R 2.7 is in the latest stable release of Debian, so I'd
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R, which calls myfunction.c via .C("myfunction", ...). I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c in the terminal. Then, in the R console: dyn.load("myfunction.so") source("myfunction.R") test <- myfunction() # works fine So everything is in order, myfunction works
2011 Aug 02
2
R CMD check problem
Dear friends, I am building an R package called *mypackage*. I followed every possible steps (to my understanding) for the same. I got following problem while doing *R CMD check mypackage*. * installing *source* package 'mypackage' ... ** libs cygwin warning: MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf Preferred POSIX equivalent is:
2010 Jan 21
1
Rgeneric.py assists in rearranging generic function definitions
I've attached a script I wrote that pulls all the setGeneric definitions out of a set of R files and puts them in a separate file, default allGenerics.R. I thought it might help others who find themselves in a similar situation. The "situation" was that I had to change the order in which files in my package were parsed; the scheme in which the generic definition is in the
2007 Jan 16
1
Problems with checking documentation vs data, and a proposal
I have a single data file inputs.RData that contains 3 objects. I generated an Rd page for each object using prompt(). When I run R CMD check I get * checking for code/documentation mismatches ... WARNING Warning in utils::data(list = al, envir = data_env) : data set 'gold' not found (gold is one of the objects). This appears to be coming from the codocData function defined in
2001 Jul 25
1
Usage of R CMD INSTALL
The help page for INSTALL says, in part, Some package sources contain a `configure' script that can be passed arguments or variables via the option `--configure-args' and `--configure-vars', respectively, if necessary. The latter is useful in particular if libraries or header files needed for the package are in non-system directories. In this case, one can
2012 Jul 17
1
R CMD build/check on Windows 7
Folks: sessionInfo() R version 2.15.0 (2012-03-30) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] datasets splines grid tcltk stats graphics grDevices [8] utils
2012 Jul 17
1
R CMD build/check on Windows 7
Folks: sessionInfo() R version 2.15.0 (2012-03-30) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] datasets splines grid tcltk stats graphics grDevices [8] utils
2011 Jul 28
2
R CMD CHECK doens't run configure when testing install? (Revised)
I'm trying to get ready to submit a package to CRAN, but in order for the package to install on OS X, I need to temporarily set the environment variable NOAWT=1. I put 'export NOAWT=1' in my package's 'configure' script, and 'R CMD INSTALL MyPackage' returns with no errors. However when I do 'R CMD CHECK MyPackage', the installation test fails, because
2011 Jul 28
2
R CMD CHECK doens't run configure when testing install? (Revised)
I'm trying to get ready to submit a package to CRAN, but in order for the package to install on OS X, I need to temporarily set the environment variable NOAWT=1. I put 'export NOAWT=1' in my package's 'configure' script, and 'R CMD INSTALL MyPackage' returns with no errors. However when I do 'R CMD CHECK MyPackage', the installation test fails, because
2011 Sep 21
1
R CMD build and vignettes
Dear R-helpers, www.statistik.lmu.de/~*leisch*/*Sweave*/*Sweave*-Rnews-2003-2.pdf says that R CMD build creates the pdf from a .Rnw file. But when I do R CMD build followed by R CMD check it gives me a warning that there is a vignette without a PDF. My query is : when R CMD build works it creates a pdf in the doc subdirectory of the directory returned by system.file(package = mypackage) and not
1997 Nov 27
4
R-alpha: RData in batch
Just a word to mention that I have lost 2 hours yesterday to find out why R refused to use a function from a package calling C-code. R invariably answered that the C code was not in the load table (something like this). I have tried everything (or nearly) to solve my problem knowing that this same package used to work on my computer at the university. Finally, I found out that running the same
2010 Jan 22
2
R CMD check error with the GNU Scientific Library
I have been working on an R package that calls C code using .C(). I recently started including some functions from the GNU Scientific Library in my code. The code runs fine on my machine when not wrapped in the package. But I get the following error from "R CMD check" * checking whether the package can be loaded ... ERROR Loading required package: splancs Loading required package: sp
2003 May 19
0
R CMD check creates a syntax error
Using R Version 1.6.2 (2003-01-10) I did R CMD check. The package I was checking includes an .Rd file with an example. My package test directory included a file foo-Ex.R whose first line was WARNING: ignoring environment value of R_HOME There are some problems with this: 1. R_HOME is not set. 2. The line is a syntax error, causing the test to fail. Furthermore, I got this warning message a
2007 Nov 19
1
R CMD check in Windows
Hi all, R CMD check does not work for me under Windows. This is the error R CMD check mypackage.tar.gz * checking for working latex ... OK tar: and: Not found in archive tar: Settings/miguez/ ... /00_pkg_src: Not found in archive tar: Error exit delayed from previous errors Error: cannot untar mypackage.tar.gz I know tar is available because R CMD build created the tarball in the first place
2011 Feb 05
1
Reading a specific file during "R CMD check"?
Hello, All: How can I obtain the location of an example data file in a package during "R CMD check"? I want to include sample raw data files in a package and have them read by a function in the package. It occurs to me to put such a file in "\inst\rawdata" and have examples find the data using something like "system.file('rawdata',
2011 Mar 24
3
R CMD build creates tar file instead of tar.gz file
Dear all, I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf In step 6 (page 19) it says that the command 'R CMD build <mypackage>' should result in a tar.gz file. However, after running the command I end up with a tar file only (no gz extension). I also get the following warnings in the command prompt C:\Program