Checks whether each package in package is already
installed. Missing packages are downloaded from CRAN with
dependencies = TRUE and then loaded. Packages that are already
installed are loaded directly without reinstalling.
Value
A named logical vector (one element per package) indicating whether
each package was successfully attached: TRUE if loaded,
FALSE if loading failed.
Examples
install_load("car")
#> Loading required package: car
#> Loading required package: carData
#> car
#> TRUE
install_load(c("car", "ggplot2"))
#> car ggplot2
#> TRUE TRUE