The function `install_load` checks the local R library(ies) to see if the required package(s) is/are installed or not. If the package(s) is/are not installed, then the package(s) will be installed along with the required dependency(ies). This function pulls source or binary packages from the Rstudio-sponsored CRAN mirror and/or the USGS GRAN Repository. Lastly, the chosen package(s) is/are loaded. The function `load_package` simply loads the provided packages.
|Author||maloneypatr [aut, cre] (Author of original install_load function, see http://stackoverflow.com/questions/15155814/check-if-r-package-is-installed-then-load-library), Irucka Embry [aut, ctb]|
|Date of publication||2016-07-12 07:49:39|
|Maintainer||Irucka Embry <[email protected]>|
|License||CC BY-SA 4.0|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.