dependencyPackage: Extract the Names of the Dependences of a Package

View source: R/dependencyPackage.R

dependencyPackageR Documentation

Extract the Names of the Dependences of a Package

Description

Extract the names of the dependences of a package.

Usage

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

## Not run: 
  dependencyPackage("lavaSearch2", path = pathGitHub())

## End(Not run)


bozenne/butils.base documentation built on May 13, 2024, 12:20 p.m.