[R-pkg-devel] How to (conditionally) use an archived package (without Suggests)?
marius.hofert at uwaterloo.ca
Sun Feb 25 00:45:55 CET 2018
A package 'foo' uses a package 'bar' (in Imports). 'bar' has been
archived and the maintainer of 'foo' was asked to fix the dependency
on 'bar' according to WRE 184.108.40.206.
Working with 'bar::' everywhere (and requireNamespace("bar", quietly =
TRUE)), as well as moving 'bar' from Imports to Suggests seems to work
but is not accepted on submission. Removing 'bar' also from Suggests
'::' or ':::' import not declared from: ‘bar’
'loadNamespace' or 'requireNamespace' call not declared from: ‘bar’
Does this mean it is not possible to use 'bar' anymore in 'foo'?
These are (somewhat) related references I found:
Thanks & cheers,
More information about the R-package-devel