forked from Eli-S-Bridge/NAOC_Geos_2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetPackages.R
21 lines (13 loc) · 820 Bytes
/
GetPackages.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Check to make sure the required packages are installed on your machine
# If not, they will be installed
reqPackages <- c("devtools","digest","GeoLight","geosphere","raster","fields","forecast",
"circular","truncnorm","parallel","bit","rgdal","CircStats","Rcpp","RcppArmadillo",
"ggmap","ggsn","sp","maptools","rgeos","MASS")
get.packages <- reqPackages[!(reqPackages %in% installed.packages()[,"Package"])]
if(length(get.packages)>0) install.packages(get.packages,repos = "https://cloud.r-project.org/",dependencies=TRUE)
# Install necessary packages from Github using the devtools library #
library(devtools)
install_github("SWotherspoon/SGAT")
install_github("SLisovski/TwGeos")
install_github("SLisovski/GeoLight", ref = "Update_2.01", force = T)
install_github("eldarrak/FLightR")