Skip to content
Prev 4515 / 12125 Next

[R-pkg-devel] Seeking for best way to manage package transitive dependencies

Suppose package B imports package A and package A imports package C.

Shall package B import package C, knowing that package B will use functions
from package A that are using functions from package C ?


Currently, package B imports package C. This leads to a note from CRAN
stating

Namespace in Imports field not imported from: ?lubridate?
  All declared Imports should be used.

Doing so, I expect package B user not to worry about needed package B
dependencies.

 What is the best way to to manage package transitive dependencies, in such
a case ?

Neonira.