Thanks!

> On Wed, Jun 2, 2021 at 1:08 PM Duncan Murdoch <murdoch.dun...@gmail.com> wrote:
> [...]
>> > search. It would be nice to know if there's an automatic way to answer
>> > the question
>> >
>> > "Why does package xxx appear to require yyy?"

On 02/06/2021 7:10 a.m., Hugh Parsonage wrote:
First I confirmed "gtools" %in% tools::package_dependencies("mvSLOUCH")[[1]]

then

lapply(tools::package_dependencies("mvSLOUCH"),
tools::package_dependencies, recursive = TRUE)

was sufficient to identify the chain.

On 02/06/2021 7:16 a.m., Gábor Csárdi wrote:

One quick way with the dev version of pak:

install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/";)
pak::pkg_deps_explain("mvSLOUCH", "gtools")
#> mvSLOUCH -> TreeSim -> geiger -> phytools -> gtools

Gabor

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to