It's because methods::setClass is called during the build process, so
it's not actually included in the package source code. It's a spurious
warning, so just suppress with a spurious importFrom in the namespace,
e.g. # @importFrom methods new
Hadley
> --
> You received this message because you are subscribed to the Google Groups
> "devtools" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
rdevtools+...@googlegroups.com.
> For more options, visit 
https://groups.google.com/d/optout.
-- 
http://had.co.nz/