desc_get_deps: List all package dependencies from a DESCRIPTION file

desc_get_depsR Documentation

List all package dependencies from a DESCRIPTION file

Description

List all package dependencies from a DESCRIPTION file

Usage

desc_get_deps(file = ".")

Arguments

file

DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.

Value

Data frame with columns: type (dependency type), package, and version. For non-versioned dependencies version is *.

See Also

Other dependencies: desc_del_deps(), desc_del_dep(), desc_has_dep(), desc_set_deps(), desc_set_dep()


r-lib/desc documentation built on Aug. 29, 2024, 5:23 p.m.