The goal of cranalysis is to provide a few handy functions to analyse CRAN's PACKAGES file. Initially this is focused on providing a list of package dependencies for a given list of packages. This was hastily thrown together and needs quite a lot more work to make it robust and introduce some tests etc.
You can install the development version of cranalysis from GitHub with:
# install.packages("devtools")
devtools::install_github("sellorm/cranalysis")
Update the cached PACKAGES.rds file:
update_cache()
Then get a list of imports for a given list of packages:
get_imports(c("plumber", "rmarkdown", "shiny"))