Description Usage Arguments Details Value Examples
Retrieve a list of system dependencies for the given packages
1 | get_sysreqs(packages, distribution = "ubuntu", release = NULL)
|
packages |
Character vector of packages. Alternatively, the file path of
an |
distribution |
Character. Operating system or distribution of the target system. For example, "ubuntu" or "centos". |
release |
Character. Release of the operating system, eg. "18.04". It's not clear what this defaults to, but it is likely to be the latest release. |
This queries the RStudio Package Manager API (https://packagemanager.rstudio.com/__api__/swagger/index.html). This API may change in the future.
A character vector of required packages
1 2 3 4 5 6 7 8 9 | ## Not run:
get_sysreqs("tidyverse", distribution = "centos")
get_sysreqs(
c("plumber", "rmarkdown"),
distribution = "ubuntu",
release = "20.04"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.