Closed ellessenne closed 4 years ago
Just to add to this a little.
If you use @importFrom package function
instead of import
you will just get the functions you are using.
This is really important as it makes it clear what other functionality your package is actually relying on from other packages.
Great suggestion! This solved the issue of the warning message.
When installing the package using
devtools
I get some warnings regarding conflicting imports fromggpubr
andplyr
.I get the same warning when running R CMD check (on a macOS 10.14.6 machine with the current release of R, 3.6.1):
It may be due to fully importing ggpubr and plyr (e.g. in
descriptive_plot.R
): I think you may get away with it by importing only the functions you need, you don't need to add @import in the roxygen documentation (doing so will import the whole package).