query_sysreqs | R Documentation |
This function takes an S3 object returned from resolve()
and (re)queries the System Requirements.
query_sysreqs(rang, os = "ubuntu-20.04")
rang |
output from |
os |
character, which OS to query for system requirements |
a rang
S3 object with the following items
call |
original function call |
ranglets |
List of dependency graphs of all packages in |
snapshot_date |
|
no_enhances |
|
no_suggests |
|
unresolved_pkgsrefs |
Packages that can't be resolved |
sysreqs |
System requirements as Linux commands |
r_version |
The latest R version as of |
os |
|
resolve()
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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.