On 17/05/2018 11:51 AM, Brian G. Peterson wrote:
newer versions of R require importFrom for functions from 'stats',
'graphics' and many other packages that used to be assumed to be on the
search path and thus available.
'methods' continues to have seemingly different treatment.
If you try to use importFrom to import a single function (in this case
'hasArg') from methods, you receive an ERROR from R CMD check
???? Namespace dependency not required : 'methods'
That message usually means that you didn't list 'methods' in the Imports
clause in DESCRIPTION.