Description Usage Arguments Details Examples
View source: R/check_packages.R
Installs and loads multiple R packages.
1 | check.packages(pkg, repo = "https://cran.rstudio.com/")
|
pkg |
Vector of package names. |
repo |
Repository mirror from where the package needs to be installed. |
Package names must be in String format
Repository default is cran.rstudio.com
1 2 3 | library(tidyverse)
check.packages(c('dplyr', 'ggplot2'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.