[R-pkg-devel] Finding dependencies (Was: problem with submitting to CRAN (windows))

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Wed Jun 2 13:16:55 CEST 2021


On Wed, Jun 2, 2021 at 1:08 PM Duncan Murdoch <murdoch.duncan using 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?"

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



More information about the R-package-devel mailing list