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

Hadley Wickham h.wickham at gmail.com
Sun Dec 20 20:37:27 CET 2015


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:
> 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
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



-- 
http://had.co.nz/



More information about the R-package-devel mailing list