Description Usage Arguments Details
This function attempts to retrieve a Debian binary package corresponding to a (source) R package, which is then extracted and installed, without having to configure or edit the apt sources.list file.
1 2 3 4 5 6 | install_deb(package = NULL, pkg_ver = NULL,
mirror = "http://deb.debian.org/debian/pool/main/r",
sources_url = "https://sources.debian.org/api/src", release = "sid",
download_path = tempdir(), clean = FALSE, opts = c("--no-docs",
"--no-multiarch", "--no-demo"), echo = FALSE, show = TRUE,
fail_on_status = TRUE, ...)
|
package |
A character string describing an R package, for which a search of the Debian package repository will be performed. |
pkg_ver |
A character string describing a particular version of an R package, for which a search will be performed. |
mirror |
A character string which represents a valid URL to a Debian package mirror's R package tree. Default is to use http://deb.debian.org/debian/pool/main/r. |
sources_url |
A character string which represents a valid URL to a Debian sources API. Default is https://sources.debian.org/api/src. |
release |
A character string describing the desired Debian release code name, default is |
clean |
Logical. A Boolean flag indicating whether the non-package directories extracted from the archive should be deleted. |
opts |
A vector of character strings containing command line arguments for |
echo |
Logical. A Boolean flag passed to |
show |
Logical. A Boolean flag passed to |
fail_on_status |
Logical. A Boolean flag passed to |
... |
Arguments to be passed on to |
pkg_path |
A character string describing the intended destination directory of the package when downloaded. Default is the session temporary directory given by |
This can be useful if you're in a hurry, or want to simplify the install process for users who have limited familiarity with system configuration but wish to avoid the time required to retrieve and compile R packages for Debian or Ubuntu from CRAN or GitHub.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.