[R-pkg-devel] RCMD Note - why did I have to do this?

Glenn Schultz glennmschultz at me.com
Sun Dec 20 19:02:26 CET 2015


Hello all,

I need some help understanding namespace and methods.

I received a note from RCMD imports methods fields...

I changed my file from
#' @import methods
NULL
 to include the following:

#' @imports methods::fields
NULL

such that it now reads

#' @import methods
NULL

#' @imports methods::fields
NULL

This removed the note - I am not just sure why I had to do this - I use devtools and Roxygen  

Thanks,
Glenn


More information about the R-package-devel mailing list