[R-pkg-devel] package installation fails due to missing package not listed in NAMESPACE

Jonathon Love jon at thon.cc
Tue May 16 13:12:33 CEST 2017


hi,

i'm receiving failures on the winbuilder, with it complaining that 
ggplot2 can not be found:

https://win-builder.r-project.org/incoming_pretest/170516_125043_jmvcore_055/00install.out

now there are some mentions of ggplot2 in our code (but none in our 
NAMESPACE, we always use the full namespace when calling functions: 
`ggplot2::ggplot()`), allowing people to pass in ggplot2 themes and for 
them to be handled correctly, but packages that build on jmvcore don't 
*need* to use ggplot2. so we've been able to avoid adding it as an 
import, which is great, because ggplot2 brings quite a few dependencies.

our code works as intended, passes all tests with `R CMD check --as-cran 
jmvcore`, etc.

however the win-builder is pinging us.

is there a way around this?

with thanks

jonathon



More information about the R-package-devel mailing list