Skip to content
Prev 45847 / 63424 Next

Dependencies of Imports not attached?

On 05/08/2013 10:25 AM, Simon Urbanek wrote:
As described, this is a 'package maintainer' problem -- fix package A. Also, 
this isn't unique to methods, other packages routinely Depend: on something that 
should instead be Import:'ed.

But I think Peter's case is different, because the C implementations of

     SEXP R_do_MAKE_CLASS(const char *what);
     SEXP R_getClassDef  (const char *what);

need to be called from inside the package environment, but there is no way to 
pass the package environment through the interface above.

Maybe the partial patch (attached) points to a solution? It changes the 
interface (though would only break a couple of Bioconductor packages in a minor 
way) (I think there's a missing PROTECT in there too.)