| sysreqs_db_match | R Documentation |
In the usual workflow pkgdepends matches the
SystemRequirements fields of the DESCRIPTION files to the database.
sysreqs_db_match(specs, sysreqs_platform = NULL)
specs |
Character vector of system requirements descriptions. |
sysreqs_platform |
System requirements platform. If |
The sysreqs_db_match() function lets you match any string, and it is
mainly useful for debugging.
Data frame with columns:
spec: the input specs.
sysreq: name of the system library or tool.
packages: system packages, list column of character vectors.
Rarely it can be an empty string, e.g. if a pre_install script
performs the installation.
pre_install: list column of character vectors. Shell script(s) to
run before the installation.
post_install: list column of character vectors. Shell script(s) to
run after the installation.
Other system requirements functions:
sysreqs_check_installed(),
sysreqs_db_list(),
sysreqs_db_update(),
sysreqs_install_plan(),
sysreqs_is_supported(),
sysreqs_list_system_packages(),
sysreqs_platforms()
sysreqs_db_match(
c("Needs libcurl", "Java, libssl"),
sysreqs_platform = "ubuntu-22.04"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.