cran Questions

2

I am building a vignette for R package mistral (see github.com/clemlaflemme/mistral) and the devtools::check(cleanup = FALSE) returns a Warning Error: processing vignette 'mistral-vignette.Rmd' fa...
Stockade asked 23/12, 2016 at 19:54

1

Solved

After submitting an R package to CRAN, I received one of the following suggestions: "Is there some reference about the method you can add in the Description field in the form Authors (year) ?" A...
Gradate asked 2/3, 2020 at 16:44

3

Solved

Our organization uses Sonatype Nexus to manage artifacts, whether they're internally-hosted stuff we've developed, or proxies to other repositories like Apache or similar. Most stuff is JAR-based. ...
Pyroelectric asked 6/2, 2013 at 16:45

1

Question: What is the purpose and origin of the Repository: field in a package DESCRIPTION file? It doesn't seem to be mentioned in the official docs for DESCRIPTION files, nor in Hadley's book. I...
Outlying asked 23/5, 2019 at 14:49

4

I want to use the skewness() and kurtosis() functions from the e1071 package. I have tried downloading the e1071 package with install.packages("e1071", dep = TRUE) but it still doesn't seem to...
Christchurch asked 9/1, 2014 at 19:52

3

Solved

I have a package on CRAN that I would like to add a ChangeLog for, but I cannot find information anywhere on how to do this. I looked on the "Writing R Extensions" document that CRAN provides, but...
Acanthous asked 1/9, 2014 at 11:46

2

Solved

I noticed that this answer to a question about .Rprofile settings mentions setting two repositories for CRAN. Is there any benefit to doing so, such as the possibility of one site being down, then...
Mcmillan asked 22/10, 2011 at 3:55

1

Solved

Assume an R package (myPackage) that imports the R package RCircos via the DESCRIPTION file and the NAMESPACE file. $ cat DESCRIPTION Package: myPackage Imports: RCircos (>= 1.2.0) ... $ cat N...
Klute asked 3/7, 2019 at 18:21

3

Solved

What is the proper way, to include a static PDF file as a "vignette" in a CRAN package as of R 3.0? The trick described in this document of using an empty stub Rnw does not seem to work in R 3.0....
Puttier asked 31/10, 2013 at 20:59

1

An R package works fine (and passes CRAN checks), but when Travis CI runs unit tests it errors with Error: Required package curl not found. Please run: install.packages('curl') Execution halted ...
Coolie asked 28/5, 2019 at 15:34

2

Solved

Suppose I'm trying to run a script of unknown origin, and one of the functions is from a package that is not loaded by the script (an oversight, maybe it was loaded in the .Rprofile of the person w...
Dian asked 8/7, 2012 at 0:36

1

Solved

I'm trying to update a package on CRAN, but I'm getting a warning on their automatic check I can't reproduce in R CMD check. These are the last lines of the log file: * checking re-building of vi...
Herrod asked 5/1, 2019 at 15:59

1

I am trying to write a test for a package function in R. Let's say we have a function that simply writes a string x to disk using writeLines(): exporting_function <- function(x, file) { wri...
Redraft asked 31/10, 2018 at 10:8

1

Solved

I am trying to submit my first package to CRAN and on my machine, I am getting the following warning on running R CMD check (via RStudio) checking compilation flags used ... WARNING Compilation us...
Desma asked 2/6, 2018 at 15:2

2

Solved

I want to submit a package to CRAN that uses parallel computation using parallel::makeCluster(parallel::detectCores()). When I build the package everything works fine, but when I check the package...
Stockstill asked 28/5, 2018 at 17:45

3

Solved

When I run R CMD check --as-cran on my package, the one note I still get is: checking CRAN incoming feasibility ... NOTE Maintainer:[my name] <my email> I can't seem to find a good explan...
Annieannihilate asked 23/5, 2014 at 13:1

11

Solved

I'm trying to install a package through the R prompt by doing the following: install.packages('RMySQL') But the output is as follows: --- Please select a CRAN mirror for use in this session --...
Jacket asked 14/7, 2012 at 23:27

2

Solved

I am submitting my R package to CRAN, and am receiving a warning from the CRAN servers that does not appear when I run R CMD CHECK --as-cran locally on the package tarball prior to uploading to CRA...
Pros asked 24/1, 2018 at 23:33

2

An R package communicates with a commercial data base using a private user_name and password to establish connection. In the package_vignette.Rmd file there is a chunk of code: ```{r, eval = TRUE}...
Reshape asked 14/4, 2015 at 15:20

2

I am trying to do R CMD check before uploading my package to CRAN. R CMD check --as-cran "my package folder". However, it spits out this warning: "checking for unstated dependencies in examples...
Outwork asked 22/2, 2013 at 23:45

1

I'm currently converting an JSS article, which uses knitr, to an R package vignette. However, I'm in doubt on the vignette placement, structure, and how I should handle the very long computation ti...
Stereotomy asked 10/3, 2015 at 10:35

2

Solved

I often use utility type functions from other packages that are un-exported: pkg:::fun(). I am wondering if I can use such a function within new functionality/scope in my own R package. What is the...
Chromous asked 12/9, 2015 at 6:9

3

Solved

How can one check of a package has been archived from CRAN. One can check if a package is a CRAN package like so: "ggplot2" %in% available.packages()[,1] ## [1] TRUE But a package like helpr sho...
Izaak asked 8/11, 2015 at 1:0

3

Solved

I am having a rather tough time with the fields package. sessioninfo() R version 3.1.0 (2014-04-10) Platform: x86_64-apple-darwin13.1.0 (64-bit) locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/...
Dilate asked 21/5, 2014 at 13:30

8

I upgraded from R-3.1 to R-3.2. OK ( Standard upgrade) But this upgrade seems to have lost all the installed packages ( ggplot2, quantmod, Rcpp among dozens and dozens of others). So installed ma...
Unhorse asked 18/5, 2015 at 16:40

© 2022 - 2024 — McMap. All rights reserved.