get_dep_all {crandep}R Documentation

Obtain one type of dependencies of a package directly. This is essentially the same as chaining get

Description

Obtain one type of dependencies of a package directly. This is essentially the same as chaining get

Usage

get_dep_all(name, type)

Arguments

name

String, name of the package

type

One of the following dependency words: "Depends", "Imports", "LinkingTo", "Suggests", "Reverse_depends", "Reverse_imports", "Reverse_linking_to", "Reverse_suggests"

Value

A string vector of dependencies

Examples

get_dep_all("dplyr", "Imports")
get_dep_all("MASS", "Depends")

[Package crandep version 0.0.1 Index]