I am writing a package that needs to use month.abb
. The CMD check throws a Note:
Undefined global functions or variables:
month.abb
Consider adding
importFrom("base", "month.abb")
to your NAMESPACE file
.
I am told not to amend NAMESPACE manually. Is there any way of getting roxygen to do this job?
UPDATE: I tried amending NAMESPACE manually anyway. CMD check then fails with this message:
"Error in asNamespace(ns, base.OK = FALSE) :
operation not allowed on base namespace"