cran Questions
3
Solved
Suppose I need to install a number of packages on a (Linux) machine that does not have an internet connection. Let's say that I downloaded a copy of cran and burned it on a DVD that I bring to the ...
1
I would like to run my package unit tests during R CMD check, but skip tests that require an internet connection. By convention, all unit tests that require internet have the word network in their ...
4
Solved
Just confirming: If I distribute my R package as ZIP/TAR then installing the package will not automatically download/install dependencies because I have to set repos = NULL in install.packages() an...
3
Solved
When calling an R function inside my webapp, I would like to catch the stack-trace when an error occurs and present it to the user for debugging purposes. Something like the output of traceback() i...
Eutherian asked 2/6, 2013 at 4:37
2
Solved
I have around 4000 R packages installed in my system (a server) and most of them are outdated because they were built before R-3.0.0. Now I know
update.packages(checkBuilt=TRUE, ask=FALSE)
woul...
2
I develop a package in R and when I check and build it in my local computer it works properly. But when I tried it in CRAN, I get a package dependencies error. My package depends on two functions o...
1
Solved
I am developing a package and consider including a vignette in it. I use RStudio for my package development and followed the instructions from Hadley Wickam to use Rmarkdown and knitr or writing th...
5
Solved
I am looking for a way to change the tempdir() location after an R session has started. I think it would be required to update the C level global variable R_TempDir. What would be a nice way to do ...
1
I am checking my R package for CRAN submission, but there is one NOTE that I cannot get rid of. I googled it but seems this NOTE is not common thus I didn't find much useful information. Could any ...
1
How much space is needed to download the entire CRAN Repository? Keeping all the files zipped, how large would a folder holding all the packages be? I can't find a clear answer to this question. I'...
1
When writing a package in R, is it necessary to add base packages (utils, grDevices, stats, etc.) as dependencies in the DESCRIPTION of your package?
Some packages do this, but most seem to ...
1
Solved
I am creating an R package that I plan to submit to CRAN. How can I check if any of my function names conflict with function names in packages already on CRAN? Before my package goes public, it's s...
3
Solved
I could equally have titled this question, "Is it good enough for CRAN?"
I have a collection of functions that I've built up for specific tasks. Some of these are convenience functions:
# Returns...
3
Solved
I manage the Depends, suggests and imports of the description file. and finally I submit my package to CRAN. But during installation the package, it only install the packages which are deposited un...
Beadroll asked 15/1, 2013 at 17:56
1
Is there any way I could raise my own NOTE exception from within the unit tests in the checking tests ... step of R CMD check?
In general I would like to have a NOTE in 00check.log if database was ...
2
Solved
Is it possible to determine the number of versions a package on CRAN has had in the past?
1
Solved
Is there a way to share R-package anonymously that will work on Unix, Mac, and/or Windows (preferably all 3 and with the ease of having it on CRAN)?
Having an R package on CRAN so that analy...
0
Are suggested dependencies mandatory in context of R CMD check when using env var _R_CHECK_FORCE_SUGGESTS_=FALSE?
Suggested dependencies are nice because are optional.
But that feature often isn't...
2
Solved
It there an easy way to skip the execution of some tests in a package if the package is tested by CRAN? The background is, I like to have a lot of tests and in sum they are time consuming (not good...
0
I'm at the final steps of publishing my package. As I did a initial submit to CRAN, they commented about the examples check:
Also,
* checking examples ... [169s/169s] OK
Examples with CPU or e...
1
Solved
I'm using rogyxen2 template in my R package. As suggested, I added my template R files in a folder called "man-roxygen" in the package directory.
However, when I R CMD check I get the following no...
5
Solved
I have a R data.frame containing longitude, latitude which spans over the entire USA map. When X number of entries are all within a small geographic region of say a few degrees longitude & a fe...
Atoll asked 11/4, 2012 at 14:47
3
Solved
I want to submit a package to CRAN. In the CRAN repository policy
it states that
"Packages for which R CMD check gives an ‘ERROR’ when a new R x.y.0 version is released will be archived".
It als...
1
Solved
I have a package that uses both Rcpp and Roxygen2. I'd like to have R CMD build run a small prebuild script that runs compileAttributes() and and roxygenise() before it starting the build process. ...
1
© 2022 - 2024 — McMap. All rights reserved.