[R-pkg-devel] package dependencies not detected?

Dirk Eddelbuettel edd at debian.org
Wed Aug 16 12:29:40 CEST 2017


On 16 August 2017 at 09:11, Berry Boessenkool wrote:
| if a function in a package uses graphics::legend in the code, but does not import it in the namespace, shouldn't there be a warning in the check?

The 'graphics' package is a base package, and as such *always* available
where R is -- see its DESCRIPTION below stating 'Priority: base'.

An explicit import would be redundant.

Dirk


Package: graphics
Version: 3.4.1
Priority: base
Title: The R Graphics Package
Author: R Core Team and contributors worldwide
Maintainer: R Core Team <R-core at r-project.org>
Description: R functions for base graphics.
Imports: grDevices
License: Part of R 3.4.1
NeedsCompilation: yes
Built: R 3.4.1; x86_64-pc-linux-gnu; 2017-07-08 15:13:56 UTC; unix


-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-package-devel mailing list