Description Usage Arguments Details Value Examples
Query the public RStudio Package
1 | get_sysreqs_json(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.
An httr response, parsed as a JSON
1 2 3 4 5 6 7 8 9 | ## Not run:
get_sysreqs_json("tidyverse", distribution = "centos")
get_sysreqs_json(
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.