ropensci-review-tools / pkgstats

Historical statistics of every R package ever
https://docs.ropensci.org/pkgstats/
17 stars 1 forks source link

Produce visjs network even when pkg has no network #12

Closed mpadge closed 3 years ago

mpadge commented 3 years ago

From https://github.com/ropensci-review-tools/roreviewapi/issues/10, which needs addressing here. pkgcheck simply calls pkgstats::plot_network() to generate the network on the result of the initial pkgstats() call. Need to enable the plot_network() function to work even when network has vertices only and no edges, as suggested by @noamross.