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



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

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to