R with roxygen2: How to use a single function from another package?
I'm creating an R package that will use a single function from plyr . According to this roxygen2 vignette : If you are using just a few functions from another package, the recommended option is to note the package name in the Imports: field of the DESCRIPTION file and call the function(s) explicitly using ::, e.g., pkg::fun(). That sounds good. I'm using plyr::ldply() - the full call with :: - so I list plyr in Imports: in my DESCRIPTION file. However, when I use devtools::check() I get this: * checking dependencies in R code ... NOTE All declared Imports should be used: ‘plyr’ All declared