Description Usage Author(s) Examples
View source: R/packageChecker.R
http://students.eagle-science.org/install-missing-r-packages/
packageChecker() takes a List of packageNames and checks it against the internal library.
If a package is missing, it will download, install and activate it. If a package is already installed but old, it will be updated and activated. If a package is already installed, it will be activated.
1 | packageChecker(packageList)
|
Pawel Kluter
1 2 | requiredPacks <- c("sp", "raster", "ggplot2")
packageChecker(requiredPacks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.