Questions tagged [cran]

For questions relating to the Comprehensive R Archive Network (CRAN), which serves as a central repository for R distributions and contributed packages. This tag is not for general R questions; use the [r] tag instead.

The Comprehensive R Archive Network (CRAN) is a collection of sites that host distributions, binaries, packages and documentation. There are many CRAN mirrors around the world.

Downloading R

For Linux installation, use your package manager. Instructions for Debian, Redhat, Suse, Ubuntu.

Downloading packages

Documentation

Submitting packages

Bug tracker

R Packages for managing other packages

Related tags

852 questions
0
votes
0 answers

r-cran-rquantlib does not install in R 3.6.1 and Debian 9

I have had problems compiling Quantlib for Debian 9 and tried to install r-cran-rquantlib via apt from https://cloud.r-project.org/bin/linux/debian stretch-cran35/ I get the following error which I do not understand since I have both Rcpp and zoo…
ECII
  • 10,297
  • 18
  • 80
  • 121
0
votes
1 answer

Package environment manipulation and submitting to CRAN

I have built a package for shiny that allows the user to interact with reactive objects in their global environment. I think it's a game changer for troubleshooting. However, I know that CRAN will reject this due to the manipulation of the global…
yake84
  • 3,004
  • 2
  • 19
  • 35
0
votes
1 answer

R CRAN package installation failing

I have recently upgraded the institute workstations to Debian 10. Since the R version got bumped to 3.5.2 (from 3.3) I have removed my ~/R directory and was just going to install the new packages. This is the R version that I have: R version 3.5.2…
Martin Ueding
  • 8,245
  • 6
  • 46
  • 92
0
votes
0 answers

R CMD CHECK warning related to BH

I wanted to send this email to the R-devel mailing list but there's a problem to subscribe to this list. Here is the message I wrote. I want to submit a package to CRAN, namely the OwenQ package. This package uses Rcpp and BH, the package which…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
1 answer

Copula result in R

I have a table of two column, it consist of an already computed index for 2 variables, a simple is quoted as following: V1, V2 0.46,1.08 0.84,1.05 -0.68,0.93 -0.99,0.68 -0.87,0.30 -1.08,-0.09 -1.16,-0.34 -0.61,-0.43 -0.65,-0.48 0.73,-0.48 In…
0
votes
1 answer

R convention for naming large numbers of contributors in R (/CRAN) package documentation?

ctb is an R package role specifically for authors who have made smaller contributions to an R package What is best practice for handling large numbers of contributors? Notes Some contributors who have made PRs to a package's github repository may…
stevec
  • 41,291
  • 27
  • 223
  • 311
0
votes
0 answers

Reading CRAN archive.rds fails in Docker container

I am trying to install some specific versions of R packages inside a Docker image. To this end I have written a function that queries the archive.rds metadata of CRAN similar to this: meta <- paste0(contrib.url(getOption("repos"), "source"),…
0
votes
0 answers

In r programming,how to Generate the rtf document with common header and footnote all over the document

Generating the rtf document with common header and footnote all over the document using R programming. Is there any simple and easy way for it.. Please help me out with this. i have to customize like in image . I did not found any clear example or…
0
votes
1 answer

Error in check --as-cran "there is no package called ..."

I have a revision of a package in which I have added some plotting code that uses the ggplot2 package as well as a custom scale from the package scales. In particular, the new code has one line that references the scales package, of the form: trans…
Russ Lenth
  • 5,922
  • 2
  • 13
  • 21
0
votes
1 answer

Unable to update to latest version of R

I am trying to update to R version 3.5.3, by using the R manual. However, when I type this line: deb https://cloud.r-project.org/bin/linux/ubuntu cosmic-cran35/ I get a return of command not found. I tried to add it to my source list as previously…
0
votes
0 answers

Unable to install any packages on Rstudio

I just got a new Macbook, and I've downloaded R and Rstudio. But for some reason, I can't install any packages in R studio. It all shows the same error: Warning in install.packages : unable to access index for repository…
S.J
  • 109
  • 2
  • 3
  • 11
0
votes
1 answer

Caret package not available for version 3.4.2

I'm trying to install the caret package on R, yet I get an error message saying that package ‘caret’ is not available (for R version 3.4.2). Is there any way around this?
F. Wotton
  • 45
  • 1
  • 6
0
votes
1 answer

CRAN submission frequency and debugging

How often should one update a package on CRAN? I noticed NOTEs in the CRAN checks that I have since solved. However, I just discovered that the("my"(disclosure)) package now fails to install on one of the Linux flavors. How can I best know what is…
NelsonGon
  • 13,015
  • 7
  • 27
  • 57
0
votes
1 answer

R CRAN Check: autoheader: warning: missing template: HAVE_GSL_HEADER autoheader: Use AC_DEFINE([HAVE_GSL_HEADER], [], [Description])

Recently a package on CRAN that I am maintaining gets the following error: (I did not change anything - error just was not present before - CRAN probably added additional checks) Result: WARN Output from running autoreconf: …
Steffen Moritz
  • 7,277
  • 11
  • 36
  • 55
0
votes
2 answers

Installing DescTools in 3.3.3 causes RStudio to crash

I'm using R 3.3.3, because it can be read by SPSS 25. If I try to instal the package "DescTools" the app closes itself. CRAN says that "DescTools" works on R 3.3.0 and above. Are there different packages? If so, how do I replace the faulty one,…
user801855
  • 15
  • 4