On 19/08/2019 10:08 p.m., John Harrold wrote:
Howdy Folks,
I'm getting the following warning:
Found the following significant warnings:
Warning: replacing previous import ‘gdata::combine’ by
‘gridExtra::combine’ when loading
In the R scripts I'm using
#'@importFrom gridExtra grid.arrange
To only import the function I want, but I'm not sure how to do that in the
DESCRIPTION file. Is there anything I can do to eliminate this warning or
is this OK?
You need to look at your NAMESPACE file, not the DESCRIPTION file. It's
likely that Roxygen has included both imports of combine in that file,
and that *is* a problem: only one will be valid. (You can't have two
objects with the same name, but you can import one of them using a
different name.)
If you can't spot the problem, please post either the NAMESPACE file, or
even better, a location of the whole package so we can take a look.
Duncan Murdoch
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel