Skip to content
Snippets Groups Projects
Commit 52e57db8 authored by Stefan Kranz's avatar Stefan Kranz
Browse files

deleted pkg used for testing

parent 3a30cd27
Branches
No related tags found
No related merge requests found
## Install of additional packages ## Install of additional packages
## pkgs are will only be downloaded, if they aren't installed yet ## pkgs are will only be downloaded, if they aren't installed yet
pkgNeeded <- c("base", "raster", "maptools", "sp", "dismo", "rasterVis", "rgdal") pkgNeeded <- c("raster", "maptools", "sp", "dismo", "rasterVis", "rgdal")
isInstalled <- sapply(pkgNeeded, require, character.only = TRUE) isInstalled <- sapply(pkgNeeded, require, character.only = TRUE)
print(isInstalled) print(isInstalled)
install.packages(pkgNeeded[!isInstalled], quiet = FALSE) install.packages(pkgNeeded[!isInstalled], quiet = FALSE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment