Skip to content

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

2 messages · Glenn Schultz, Hadley Wickham

#
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
#
You didn't include the NOTE you saw, and this isn't valid roxygen:

#' @imports methods::fields

So it's a bit hard to tell what the problem is.

Hadley
On Sun, Dec 20, 2015 at 12:02 PM, Glenn Schultz <glennmschultz at me.com> wrote: