get_dep_vec {crandep}R Documentation

Split a string to a list of dependencies

Description

Split a string to a list of dependencies

Usage

get_dep_vec(x)

Arguments

x

A scalar string, possibly an output of get_dep_str()

Value

A string vector of dependencies

Examples

url.mass <- crandep:::cran_url("MASS")
html.mass <- crandep:::html_text_vec(url.mass)
str.mass <- crandep:::get_dep_str(html.mass, "Depends") # the packages MASS depends on
crandep:::get_dep_vec(str.mass) # R (<version>) will be removed

[Package crandep version 0.0.1 Index]