Thanks. The error message will now say:
undefined exports: class inla
Will check-in after running more tests.
On Fri, Sep 6, 2019 at 10:19 AM Thierry Onkelinx
wrote:
> Dear Michael,
>
> my package has setOldClass("inla") and the NAMESPACE
> contains exportClasses(inla) and importFrom(INLA, in
Dear Michael,
my package has setOldClass("inla") and the NAMESPACE
contains exportClasses(inla) and importFrom(INLA, inla.posterior.sample)
the old version of INLA uses the S3 class "inla" but does not export it.
the new version of INLA has setOldClass("inla") and the NAMESPACE
contains exportCla
Just to clarify, your package is exporting a class that is not
defined? Or is it exporting a class that is defined by a dependency
and then masked by setOldClass()? A simple reproducible example would
help.
On Fri, Sep 6, 2019 at 7:48 AM Thierry Onkelinx via R-devel
wrote:
>
> Dear all,
>
> Today
Dear all,
Today I got this error message (R 3.6.1) when installing my package:
Error: package or namespace load failed for ‘inlatools’ in
namespaceExport(ns, exports):
undefined exports: .__C__inla
My package was using setOldClass("inla") and exported the "inla" class via
the NAMESPACE. It impo