conan_install | R Documentation |
Create a self-contained library, using pkgdepends.
conan_install(
lib,
packages,
policy = "upgrade",
repos = NULL,
cran = NULL,
path_bootstrap = NULL,
path_cache = NULL
)
lib |
The path to install into. We will create a self-contained library at this address. |
packages |
A character vector of packages to install. These
can be names of CRAN packages or GitHub references etc; see
|
policy |
Should be either "lazy" or "upgrade", with a default of "upgrade" |
repos |
A character vector of repositories to use when
installing. A suitable CRAN repo will be added if not detected
(using the |
cran |
Fallback CRAN repo to use. If not given we will use
|
path_bootstrap |
The path to find the "bootstrap library" at
(created via |
path_cache |
Path to the pkgdepends cache. Falls back on
environment variable |
Nothing, called for side effects of creating a library at
lib
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.