stats, utils are Imports - #7897
Conversation
|
If we go this route I would argue then we should have a job that runs tests with stats and utils not attached to the session, then we can actually test if those imports are properly (sufficiently) defined. If they wouldn't we should expect a NOTE, but still. |
|
Still, it should produce an
|
|
We don't even need to go to package space, the packages are citing each other too, e.g. {stats} |
These are imported in NAMESPACE, so they should be listed in DESCRIPTION too. At the moment, their inclusion is not enforced by CRAN, but this makes us future-proof. The inspiration for this came from: Rdatatable/data.table#7897 [skip ci]
data.table/NAMESPACE
Line 156 in e26cf1b
data.table/NAMESPACE
Line 160 in e26cf1b
The
importFrom()directives clearly mark these out asImportsIMO.