powered by
Determine package dependencies.
getDependencies(packs)
Vector of packages that depend on the target package(s).
Character vector of names of target packages.
Determine which packages depend on a target package (or packages).
https://stackoverflow.com/questions/52929114/install-packages-in-r-without-internet-connection-with-all-dependencies/52935020#52935020
Other packages: load_or_install()
load_or_install()
old <- options("repos") options(repos = "https://cran.r-project.org") getDependencies("tidyverse") options(old)
Run the code above in your browser using DataLab