DominikRafacz / deepdep

Visualise and Explore Deep Dependencies of R packages
https://dominikrafacz.github.io/deepdep/
GNU General Public License v3.0
73 stars 8 forks source link

Package Version Argument #17

Open jessecambon opened 4 years ago

jessecambon commented 4 years ago

First of all thanks for this package, it's very useful. I am not sure how feasible this would be to implement, but it could be helpful to have a package version argument for the get_dependencies and deepdep functions. For my use case, I was trying to compare the dependencies of an old version of my package to the current version.

One workaround I attempted was to install the old version of the package with devtools::install_version and then use deepdep with local = TRUE. However, I ran into an issue installing the old package version so this didn't quite work.

ErdaradunGaztea commented 2 years ago

Getting around to doing this now, since I just discovered that pkgsearch package has exactly the functionality we need (for CRAN at least, Bioc is a separate animal).

ErdaradunGaztea commented 2 years ago

TODO:

ErdaradunGaztea commented 2 years ago

Just realized that pkgsearch uses curl to make HTTP calls, which... complicates testing beyond reason, since we wouldn't be able to use vcr anymore. It will be better to reimplement pkgsearch functionality instead with httr, just like in current version of deepdep.