Skip to content

Commit

Permalink
Merge pull request #811 from mhines-usgs/AQCU-1644
Browse files Browse the repository at this point in the history
AQCU-1644: update mran snapshot date and travis R version
  • Loading branch information
mhines-usgs authored Aug 10, 2018
2 parents 560929d + c390c53 commit b21700c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: r
r: 3.3.2
r: 3.4.1
sudo: required
warnings_are_errors: false

Expand All @@ -12,10 +12,10 @@ install:

#Install First Set of Dependencies
- Rscript -e 'install.packages("crayon")'
- Rscript -e 'install.packages(c("bitops","Rcpp","digest","magrittr","stringi","stringr","yaml","evaluate","formatr","highr","R6","assertthat","lazyeval","DBI","jsonlite","brew","mime","curl","caTools","openssl","memoise","whisker","rstudioapi","git2r","withr","markdown","knitr","htmltools", "rmarkdown","RCurl","htmlTable","roxygen2","dplyr","lubridate", "readr", "base64enc", "whisker"), repos="https://mran.microsoft.com/snapshot/2017-02-08", type="source")'
- Rscript -e 'install.packages(c("bitops","Rcpp","digest","magrittr","stringi","stringr","yaml","evaluate","formatR","highr","R6","assertthat","lazyeval","DBI","jsonlite","brew","mime","curl","caTools","openssl","memoise","whisker","rstudioapi","git2r","withr","markdown","knitr","htmltools", "rmarkdown","RCurl","htmlTable","roxygen2","dplyr","lubridate", "readr", "base64enc", "whisker"), repos="https://mran.microsoft.com/snapshot/2018-08-09", type="source")'

#Install a different version of HTTR
- Rscript -e 'install.packages("httr", repos = "https://mran.microsoft.com/snapshot/2016-01-27",type="source")'
- Rscript -e 'install.packages("httr", repos = "https://mran.microsoft.com/snapshot/2018-08-09",type="source")'

#Install latest versions of devtools and testthat
- Rscript -e 'install.packages(c("devtools", "testthat"))'
Expand Down
2 changes: 1 addition & 1 deletion inst/extdata/installPackages.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if (nchar(lib) == 0) {
pkgs <- repgenImports(lib.loc = lib)

# all packages are held back to older, MRAN versions
installPackages(c(pkgs, "devtools"), lib, "https://mran.microsoft.com/snapshot/2017-02-08")
installPackages(c(pkgs, "devtools"), lib, "https://mran.microsoft.com/snapshot/2018-08-09")

# reference all date/time points to UTC (which is not actually a time zone)
Sys.setenv(TZ = "UTC")

0 comments on commit b21700c

Please sign in to comment.