getDependencies {petersenlab}R Documentation

Package Dependencies.

Description

Determine package dependencies.

Usage

getDependencies(packs)

Arguments

packs

Character vector of names of target packages.

Details

Determine which packages depend on a target package (or packages).

Value

Vector of packages that depend on the target package(s).

See Also

https://stackoverflow.com/questions/52929114/install-packages-in-r-without-internet-connection-with-all-dependencies/52935020#52935020

Other packages: load_or_install()

Examples

old <- options("repos")
options(repos = "https://cran.r-project.org")
getDependencies("tidyverse")
options(old)


[Package petersenlab version 1.0.0 Index]