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

Joshua Ulrich jo@h@m@u|r|ch @end|ng |rom gm@||@com
Sun Mar 12 21:14:03 CET 2023


Hi Duncan,

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

Best,
Josh

> Duncan Murdoch
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



-- 
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com



More information about the R-package-devel mailing list