Skip to content

[R-pkg-devel] Tools for reducing dependencies?

2 messages · Duncan Murdoch, Joshua Ulrich

#
The rgl package has a really large number of dependencies, especially if 
I include soft (Suggested) dependencies.  It would be nice to reduce 
that number.

To do that, I can imagine a tool that gives the following information:

  - For each export from rgl, which dependencies are needed?

  - For each dependency, which exports are supported?

  - Are there other ways to get the same support with fewer 
dependencies? E.g. if rgl used devtools::install_github, it could be 
replaced with remotes::install_github.

Does a tool already exist that addresses these questions?

Duncan Murdoch
#
Hi Duncan,
On Sun, Mar 12, 2023 at 6:34?AM Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
I've never used it, but there's some relevant functionality in
https://github.com/r-lib/itdepends

Best,
Josh