Message-ID: <CAPPM_gS_7yZYUfYAVMy0+YijsVGDCdMNzg_+rSsz0dmnm7j9wg@mail.gmail.com>
Date: 2023-03-12T20:14:03Z
From: Joshua Ulrich
Subject: [R-pkg-devel] Tools for reducing dependencies?
In-Reply-To: <8055110c-82e9-4b58-3a29-2efed0a61f8a@gmail.com>
Hi Duncan,
On Sun, Mar 12, 2023 at 6:34?AM Duncan Murdoch <murdoch.duncan at 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 at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com