[R-pkg-devel] Conflicting S3 imports?
Thierry Onkelinx
thierry.onkelinx at inbo.be
Mon Nov 28 16:19:06 CET 2016
Dear all,
When building my package "A" I get following warning.
class "inla" is defined (with package slot ‘B’) but no metadata object
found to revise superClass information---not exported? Making a copy in
package ‘A’
- Both packages "A" and "B" use setOldClass("inla") to import the S3 class
"inla".
- Both package define S4 methods for the "inla" class.
- Package "B" defines two S4 classes, none of them have a slot of class
"inla".
- Package "A" defines several S4 classes. One of them ("cA") has a slot of
class "maybeInla", which is defined as setClassUnion("maybeInla", c("inla",
"NULL"))
- The "cA" class uses a slot of class "cB". "cB" is imported from package
"B".
Can someone explain me the warning. And give me a hint on how to avoid it?
Best regards,
Thierry
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
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
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list