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
1 answer

Vignette which won't be checked by CRAN

I am making a DB client package with a knitr/rmarkdown vignette that demonstrates some basic use-cases. I would like it to be present in the CRAN version of the package, but obviously it won't build there because of the lack of the DB server. What…
mbq
  • 18,510
  • 6
  • 49
  • 72
0
votes
0 answers

Registering native routines with Rcpp

I am trying to get my R package to pass the new constraints in R CMD check. I am unable to do so even though I created the c code under src that should make registering calls I used package_native_routine_registration_skeleton(".") to create the…
0
votes
1 answer

R package will be published in corresponding CRAN directory?

I recently submitted my 2nd R package "FMC" to CRAN. They accepted its publication but told me "Your package FMC_1.0.0.tar.gz has been built for Windows and will be published within 24 hours in the corresponding CRAN directory". BUt this was not the…
jiyosunny
  • 13
  • 1
0
votes
1 answer

R package dependencies not installed from Additional_repositories (revisited)

I am attempting to prepare a package for submission to the CRAN. In my DESCRIPTION file I include non-CRAN packages in the Depends and Suggests arguments. To tell R where to find the non-CRAN packages, I include the Additional_repositories argument;…
greengrass62
  • 968
  • 7
  • 19
0
votes
0 answers

What are the cause of warnings in latest CRAN check?

Previously everything was ok. But after the recent CRAN checks, many warnings are encountered. Here it is /data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/task.h:721:30: runtime error: member call on address 0x7fd0281f3d00 which does…
cryptomanic
  • 5,986
  • 3
  • 18
  • 30
0
votes
1 answer

R win-builder fails silently

I am testing a package with win-builder (R-release), and the package checks fail without returning a real error message. These same checks work fine locally on Windows and Linux for R 3.3.2 and 3.2.0. I have no compiled code, just uncompiled R code,…
landau
  • 5,636
  • 1
  • 22
  • 50
0
votes
0 answers

Choosing a CRAN repository

While choosing CRAN repository what is the URL of CRAN repository?Where can i found complete listing of CRAN repositories on www.r-project.org? I don't know the URL of CRAN repository? I wrote a command >available.packages() Then R told me to select…
0
votes
0 answers

update packages on red hat without internet connection

I am using Red Hat 6.4 without internet connection. I am trying to install R using CRAN. While I install some dependencies are needed. Some of them are already installed on the server. The issue is when I installed the one of dependency. For…
Bryan K.
  • 173
  • 1
  • 4
  • 14
0
votes
1 answer

matplot is missing from CRAN?

Im taking an R programming class that is using the package "matplot" for a demo. I cant find "matplot" in CRAN so i'm assuming it has been replaced/deleted/changed. Is there another package that replaced it?
skye rigdon
  • 165
  • 1
  • 2
  • 6
0
votes
0 answers

Linux R server (Shiny): Install Windows binaries

Is there some way to install a (modified) R package (zip Windows binaries) on a linux machine (using command line) running Rserver + Shiny ?
Jsncrdnl
  • 3,005
  • 5
  • 28
  • 43
0
votes
1 answer

Is MRAN broken?

I have been trying to install packages from MRAN, specifically bsts amoung others. If I run: install.packages(c("Boom","BoomSpikeSlab", "bsts"),repos = "https://mran.revolutionanalytics.com/snapshot/2016-01-01/") I get the following output: Warning…
Glen Moutrie
  • 295
  • 3
  • 9
0
votes
0 answers

Error while Installing packages wordcloud and tm

while installing packages like tm, wordcloud I get error slam not available for this version, please guide me in installing tm and wordcloud packages.
Asha N
  • 11
  • 6
0
votes
1 answer

R package with C code on Windows (win-build) fails to compile, ar: Command not found

I have a package that I'm trying to build on Windows using win-builder for CRAN. The compilation fails with this message: ar -crs libmseed.a fileutils.o genutils.o gswap.o lmplatform.o lookup.o msrutils.o pack.o packdata.o traceutils.o tracelist.o…
G. Sharer
  • 21
  • 2
0
votes
1 answer

Package fail on CRAN due to test using testthat

I submitted my package to CRAN and it did not pass the CRAN R CMD check. This is the error they get: * checking tests ... ERROR Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: Type 'contributors()' for more information…
ayalaall
  • 145
  • 2
  • 16
0
votes
1 answer

Include archived CRAN package in package

I'm creating an R package, and I would like to rely on the falsy package, which has recently been archived from CRAN. With a non-archived package, one would typically add the name of the package to the Imports list in the DESCRIPTION file. How does…
user12341234
  • 6,573
  • 6
  • 23
  • 48