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 ...
Constable asked 29/5, 2012 at 22:47

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 ...
Disillusionize asked 26/3, 2014 at 23:29

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...
Durman asked 27/4, 2011 at 13:38

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...
Toole asked 9/1, 2014 at 2:40

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...
Kokura asked 5/1, 2013 at 11:5

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...
Novosibirsk asked 21/11, 2016 at 18:15

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 ...
Illfavored asked 25/4, 2012 at 19:29

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 ...
Eras asked 12/9, 2015 at 16:11

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'...
Oquinn asked 22/9, 2016 at 22:29

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 ...
Burra asked 11/9, 2016 at 17:54

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...
Alisha asked 22/8, 2016 at 15:21

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...
Viceroy asked 26/7, 2011 at 10:53

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 ...
Brittnybritton asked 6/2, 2016 at 15:26

2

Solved

Is it possible to determine the number of versions a package on CRAN has had in the past?
Marivelmariya asked 21/5, 2016 at 20:27

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...
Batty asked 17/5, 2016 at 11:26

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...
Minimus asked 2/4, 2016 at 1:6

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...
Naivete asked 22/3, 2016 at 22:16

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...
Unifilar asked 11/1, 2016 at 15:35

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...
Atavism asked 13/11, 2015 at 9:32

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...
Monogenesis asked 19/6, 2013 at 13:48

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. ...
Neoimpressionism asked 18/5, 2014 at 15:54

1

This blog entry by Dirk Edelbuettel states: Rcpp, as a CRAN package, follows CRAN policy in not (yet at least) supporting this standard [C++11] for its purported non-portable status. The blog ...
Sparteine asked 1/2, 2015 at 11:46

© 2022 - 2024 — McMap. All rights reserved.