query_sysreqs: Query for System Requirements

View source: R/sysreqs.R

query_sysreqsR Documentation

Query for System Requirements

Description

This function takes an S3 object returned from resolve() and (re)queries the System Requirements.

Usage

query_sysreqs(rang, os = "ubuntu-20.04")

Arguments

rang

output from resolve()

os

character, which OS to query for system requirements

Value

a rang S3 object with the following items

call

original function call

ranglets

List of dependency graphs of all packages in pkgs

snapshot_date

snapshot_date

no_enhances

no_enhances

no_suggests

no_suggests

unresolved_pkgsrefs

Packages that can't be resolved

sysreqs

System requirements as Linux commands

r_version

The latest R version as of snapshot_date

os

os

See Also

resolve()

Examples


if (interactive()) {
    graph <- resolve(pkgs = c("openNLP", "LDAvis", "topicmodels", "quanteda"),
                snapshot_date = "2020-01-16", query_sysreqs = FALSE)
    graph$sysreqs
    graph2 <- query_sysreqs(graph, os = "ubuntu-20.04")
    graph2$sysreqs
}


rang documentation built on Oct. 8, 2023, 5:06 p.m.