View source: R/compact_sysreqs.R
compact_sysreqs | R Documentation |
Compact Sysreqs
compact_sysreqs(
pkg_installs,
update_cmd = "apt-get update -y",
install_cmd = "apt-get install -y",
clean_cmd = "rm -rf /var/lib/apt/lists/*"
)
pkg_installs |
pkg_sysreqs as vector, |
update_cmd |
command used to update packages, "apt-get update -y" by default |
install_cmd |
command used to install packages, "apt-get install -y" by default |
clean_cmd |
command used to clean package folder, "rm -rf /var/lib/apt/lists/*" by default |
vector of compacted command to run to install sysreqs
pkg_installs <- list("apt-get install -y htop", "apt-get install -y top")
compact_sysreqs(pkg_installs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.