Skip to content
Prev 4444 / 12125 Next

[R-pkg-devel] Why doesn't R CMD check warn that globalVariables() is undefined/not imported?

On Tue, Sep 24, 2019 at 11:13 AM G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
That would make sense.  Would you say this is a false negative for 'R
CMD check', that is, should it ideally warn about this?

Personally, I argue that one should use:

utils::globalVariables(...)

or

globalVariables(...)
NAMESPACE: importFrom(utils, globalVariables)

/Henrik