pkg_dep_all: To recursively query all the dependencies, dependencies of...

Description Usage Arguments Value Note Author(s) References Examples

View source: R/pkg_dep_all.R

Description

This function recursively query all the dependencies, dependencies of the dependencies, and so on of an R package.

Usage

1

Arguments

x

A character string of the name of an R package.

Value

a vector: a unique vector of all the dependencies, dependencies of the dependencies, and so on of

Note

This function queries into all sub-levels of the dependencies, dependencies of the dependencies, and so on of an R package. The accompanying messages shows the progress (the depth of the query) of the query process.

Author(s)

Miao Cai <email: miao.cai@outlook.com>

References

None.

Examples

1
2
3
4
5
# query the dependencies, and all the dependencies of the dependencies, and so on of the package "cli".
pkg_dep_all('cli')
# Depth: 1
# Depth: 2
# [1] "cli"     "glue"    "utils"   "methods"

caimiao0714/dnlddep documentation built on Dec. 19, 2021, 12:53 p.m.