dependencyPackage: Extract the Names of the Dependences of a Package

Description Usage Arguments Value Examples

View source: R/dependencyPackage.R

Description

Extract the names of the dependences of a package.

Usage

1
2
dependencyPackage(name, path, field = c("Imports", "Depends",
  "Suggests"))

Arguments

name

[character] The name of the package.

path

[character] The path to the directory containing the package.

field

[character vector] which type of dependency should be considered?

Value

character vector containing the names of the packages

Examples

1
2
3
4
## Not run: 
  dependencyPackage("lavaSearch2", path = pathGitHub())

## End(Not run)

bozenne/butils.base documentation built on April 1, 2020, 6:13 p.m.