pkgs | R Documentation |
Install and/or load any necessary libraries, or skip if they are already loaded.
pkgs(packages, quiet = FALSE, repos = c("https://cloud.r-project.org"))
packages |
Single character or character vector with package/library names |
quiet |
Logical whether to show which packages were installed, loaded, or skipped, as well as their version numbers. |
repos |
Specified repo web address to attempt to pull uninstalled libraries from. |
Environmental conditions: Installs and/or loads libraries where necessary.
## Not run:
miao::pkgs(c('toddellis/miao', 'tidyverse'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.