required_dependency_packages.Rd
Required dependency packages
required_dependency_packages(x, all = FALSE)
An object from pkgndep
.
Whether to include the packages required if also including packages from "Suggests"/"Enhances" field.
The function returns all upstream packages.
A vector of package names.
# \dontrun{
x = readRDS(system.file("extdata", "ComplexHeatmap_dep.rds", package = "pkgndep"))
required_dependency_packages(x)
#> [1] "grDevices" "graphics" "grid" "stats"
#> [5] "methods" "RColorBrewer" "png" "matrixStats"
#> [9] "digest" "foreach" "colorspace" "GlobalOptions"
#> [13] "clue" "doParallel" "GetoptLong" "IRanges"
#> [17] "circlize" "utils" "tools" "crayon"
#> [21] "codetools" "iterators" "BiocGenerics" "S4Vectors"
#> [25] "stats4" "cluster" "parallel" "compiler"
#> [29] "rjson" "shape"
# }