Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
Nope: ``` > meta_cache_update() ℹ Checking for package metadata updates ✔ Downloaded metadata files, 1.37 MB in 5 files. ✔ Updating metadata database

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Gábor Csárdi
It fails to download package metadata. Maybe your internet access is restricted? Gabor On Thu, May 9, 2019 at 12:12 PM Rainer M Krug wrote: > > But I don’t get it to run. > > When I do > > > itdepends::dep_plot_size(".") > ℹ Checking for package metadata updates > ✖ Metadata download failed > Er

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
But I don’t get it to run. When I do > itdepends::dep_plot_size(".") ℹ Checking for package metadata updates ✖ Metadata download failed Error in stop(http_error(resp))

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Gábor Csárdi
You can try `pr$draw_tree()`, but it is quite buggy, and fails for infinite (Suggests) loops: https://github.com/r-lib/pkgdepends/issues/129 This might be an easier way to get the direct dependencies of each package in the dependency tree: tibble::as_tibble(pr$get_install_plan(FALSE))[, c("package

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
Thanks. This sounds like a really useful package - I’ll check it out. > On 9 May 2019, at 12:15, Maëlle SALMON wrote: > > Could https://github.com/jimhester/itdepends help? > > Maëlle. > Den torsdag 9 maj 2019 12:10:14 CEST, Rainer M Krug skrev: > > > Thanks Gabor. > > This gives me an i

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- Could https://github.com/jimhester/itdepends help? Maëlle. Den torsdag 9 maj 2019 12:10:14 CEST, Rainer M Krug skrev: Thanks Gabor. This gives me an impressive long list. Is there a way to see this graphically? Parsing seems to be a long, tedious process. I want

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
Thanks Gabor. This gives me an impressive long list. Is there a way to see this graphically? Parsing seems to be a long, tedious process. I want to identify packages which I should leave out to reduce the number of (indirect) dependencies. Rainer > On 9 May 2019, at 11:24, Gábor Csárdi wro

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Gábor Csárdi
You can do something like this with https://github.com/r-lib/pkgdepends: pr <- pkgdepends::remotes()$new("local::.", library = tempfile()) #> ℹ Creating library directory: `/var/folders/59/0gkmw1yj2w7bf2dfc3jznv5wgn/T//Rtmpo5NL9R/filee95427c73f55` pr$solve() #> ℹ Checking for package metadata