Skip to content

Commit

Permalink
R 3.6.0 additionla packages updated to get a working set of Geographi…
Browse files Browse the repository at this point in the history
…c packages (PROJ, GDAL etc).
  • Loading branch information
balston committed Jul 3, 2019
1 parent dad00b7 commit 1e96107
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R-3.6.0_packages_install
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# Updated October 2018 to create ~/.R/Makevars to allow installaion of rstan
# Updated April 2019 for R 3.5.3 and PROJ.4 6.0.0
# Updated June 2019 for R 3.6.0, Texinfo 6.6 and TeX Live 2019
# Further updates to get a working set of Geographic packages (PROJ, GDAL etc) July 2019
#
# Using Ian's require function to load modules
#
Expand Down Expand Up @@ -64,7 +65,7 @@ require perl/5.22.0
require libtool/2.4.6
require graphicsmagick/1.3.21
require python2/recommended
require proj.4/6.0.0
require proj.4/6.1.0
require gdal/2.1.4
require gmt/5.4.5
require geos/3.5.0/gnu-4.9.2
Expand Down Expand Up @@ -134,7 +135,7 @@ R --no-save < $R_input
# No longer on CRAN - Aug 2014
# Removed from packages to be built June 2019 as it fails to build with R 3.6.0

# R CMD INSTALL -l $RLIB_MAIN ${LOCALDIR}/NetworkAnalysis_0.3-1.tar.gz
# ${LOCALDIR}/NetworkAnalysis_0.3-1.tar.gz

R_input=${LOCALDIR}/R_packages_UCL_4.R
R --no-save < $R_input
Expand Down
9 changes: 8 additions & 1 deletion files/R_UCL/R_packages_UCL_5.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,18 @@ install.packages ("psych", lib=mainLib, repos=repros);

install.packages ("rlecuyer", lib=mainLib, repos=repros);

install.packages ("devtools", lib=mainLib, repos=repros);

# More requsts from Political Science

# Install sf from GitHub repository

sfconf <- '--with-proj-api=yes --with-proj-lib=/shared/ucl/apps/PROJ.4/6.1.0/lib --with-proj-share=/shared/ucl/apps/PROJ.4/6.1.0/share/proj PROJ_CPPFLAGS="${PROJ_CPPFLAGS} -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -DHAVE_PROJ_H"';
devtools::install_github("r-spatial/sf", configure.args=sfconf);

install.packages ("rgdal", lib=mainLib, repos=repros);
install.packages ("rgeos", lib=mainLib, repos=repros);

install.packages ("erer", lib=mainLib, repos=repros);
install.packages ("panelAR", lib=mainLib, repos=repros);
install.packages ("arm", lib=mainLib, repos=repros);
Expand Down Expand Up @@ -159,7 +167,6 @@ install.packages ("png", lib=mainLib, repos=repros);
install.packages ("TAM", lib=mainLib, repos=repros);

# For Tom O'Grady (t.o'grady@ucl.ac.uk) April 2019
install.packages ("devtools", lib=mainLib, repos=repros);
devtools::install_github("jamesdunham/dgo");

# For Kasia Kozdon (k.kozdon.11@ucl.ac.uk) April 2019
Expand Down

0 comments on commit 1e96107

Please sign in to comment.