[R-pkg-devel] using a class from a suggested package

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Feb 9 14:05:55 CET 2022


On Wed, 9 Feb 2022 12:25:14 +0100
Thierry Onkelinx <thierry.onkelinx using inbo.be> wrote:

> However when package A is loaded first, I get

> Virtual Class "inla" [package "A"]

Since you own both packages A and B, how much work would it be to
export maybeInla from package A instead of importing inla in package B?
I'm afraid you won't avoid the warning if package A creates its own
inla and you load package INLA in the same process.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list