required_dependency_packages: Required dependency packages

View source: R/pkgndep.R

required_dependency_packagesR Documentation

Required dependency packages

Description

Required dependency packages

Usage

required_dependency_packages(x, all = FALSE)

Arguments

x

An object from pkgndep.

all

Whether to include the packages required if also including packages from "Suggests"/"Enhances" field.

Details

The function returns all upstream packages.

Value

A vector of package names.

Examples

## Not run: 
x = readRDS(system.file("extdata", "ComplexHeatmap_dep.rds", package = "pkgndep"))
required_dependency_packages(x)

## End(Not run)

pkgndep documentation built on Oct. 13, 2023, 9:08 a.m.