[R-pkg-devel] Finding dependencies (Was: problem with submitting to CRAN (windows))
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Wed Jun 2 13:33:13 CEST 2021
Thanks!
> 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?"
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
More information about the R-package-devel
mailing list