use_pkg | R Documentation |
First, use_package
checks if the package is installed. If not
already installed, the package will be installed. Thereafter, the package
is attached using library.
use_pkg(pkg, repos = "https://cran.uib.no/", ...)
pkg |
[ |
repos |
[ |
... |
Other arguments to be passed to
|
Only packages available at Cran can be installed.
use_pkg("checkmate")
use_pkg(pkg = c("checkmate", "devtools"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.