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

Thierry Onkelinx th|erry@onke||nx @end|ng |rom |nbo@be
Wed Feb 9 16:43:37 CET 2022


Dear Ivan,

Defining "maybeInla" in package A and importing that in package B solved
the problem. Thanks for your assistance.

Best regards,

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx using inbo.be
Havenlaan 88 bus 73, 1000 Brussel
www.inbo.be

///////////////////////////////////////////////////////////////////////////////////////////
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey
///////////////////////////////////////////////////////////////////////////////////////////

<https://www.inbo.be>


Op wo 9 feb. 2022 om 14:05 schreef Ivan Krylov <krylov.r00t using gmail.com>:

> 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
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list