[R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

Duncan Murdoch murdoch@dunc@n @ending from gm@il@com
Tue Jul 3 12:52:13 CEST 2018


On 02/07/2018 4:18 PM, Throm, Allison wrote:
> Hi all,
> 
> 
> I'm trying to submit a package to the CRAN that further examines results from the "citrus" package as done for an accepted publication (available on Github: <https://github.com/nolanlab/citrus>).
> 
> 
> I do not get any errors when using devtools::check() on my Mac, which already has the citrus package installed. However, I am getting errors during the CRAN submission check <https://win-builder.r-project.org/incoming_pretest/mineCitrus_1.0.0_20180702_172340/>.
> 
> 
> I've tried searching Stack Overload and other CRAN packages with Additional_repositories fields, but none of the applicable solutions have worked. I'm pretty sure it's the loading of the citrus package that is causing the error and have added the Additional_repositories field with a link the package on Github, but still haven't been able to resolve the issue. There are very specific installation instructions for the package <https://github.com/nolanlab/citrus/wiki/Installing-Citrus>, which may be contributing to issues.
> 
> 
> How should I properly specify dependencies on the nolanlab/citrus<https://github.com/nolanlab/citrus> Github package for my CRAN package?

I don't think you posted your DESCRIPTION file, but the likely problem 
based on the check log is that your "Additional_repositories" field 
points to something that CRAN doesn't recognize as an R package repository.

Probably the easiest way to create the right structure is to use the 
drat package; see  https://github.com/eddelbuettel/drat  for instructions.

Duncan Murdoch



More information about the R-package-devel mailing list