Skip to content

Commit

Permalink
Attempt to fix travis-ci
Browse files Browse the repository at this point in the history
- travis-ci: attempt to address "Warning in i.p(...) : 'lib = "/home/travis/R/Library:/usr/local/lib/R/site-library:/home/travis/R-bin/lib/R/library"' is not writable"
  • Loading branch information
dschlaep committed Aug 12, 2020
1 parent bfaca26 commit 6fd6d36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ install:
# Custom install/update dependencies of rSW2utils and rSOILWAT2
- Rscript -e 'remotes::update_packages(c("blob", "DBI", "RSQLite", "circular", "mvtnorm"), upgrade = TRUE, lib = Sys.getenv("R_LIBS_USER"))'
# Install rSW2utils as dependency of rSOILWAT2 and rSFSW2
- Rscript -e 'remotes::install_github("DrylandEcology/rSW2utils", upgrade = TRUE, lib = Sys.getenv("R_LIBS_USER"))'
- Rscript -e 'remotes::install_github("DrylandEcology/rSW2utils", upgrade = TRUE)'
# Install rSOILWAT2 as dependency of rSFSW2
# `remotes::install_github` supports submodules since v2.0.0!
- Rscript -e 'remotes::install_github("DrylandEcology/rSOILWAT2", upgrade = TRUE, lib = Sys.getenv("R_LIBS_USER"))'
- Rscript -e 'remotes::install_github("DrylandEcology/rSOILWAT2", upgrade = TRUE)'
# Install rSW2funs as dependency of rSFSW2
- Rscript -e 'remotes::install_github("DrylandEcology/rSW2funs", upgrade = TRUE, lib = Sys.getenv("R_LIBS_USER"))'
- Rscript -e 'remotes::install_github("DrylandEcology/rSW2funs", upgrade = TRUE)'
# Install rSFSW2 dependencies, but remove `Rmpi` etc.
- Rscript -e 'pkgs <- remotes::dev_package_deps(dependencies = TRUE); ids_not <- pkgs[, "package"] %in% c("rSW2utils", "rSOILWAT2", "rSW2funs", "Rmpi", "weathergen", "lubridate", "zoo", "dplyr"); update(pkgs[!ids_not, ], upgrade = TRUE, lib = Sys.getenv("R_LIBS_USER"))'

Expand Down

0 comments on commit 6fd6d36

Please sign in to comment.