diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 523d33af..0ae16dcc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,9 +49,10 @@ jobs: - name: Install system dependencies run: | - sudo apt remove libudunits2-dev libgdal-dev libgeos-dev libproj-dev - sudo apt-get install libgit2-dev libcurl4-openssl-dev libudunits2-dev libgdal-dev libnetcdf-dev libgeos-dev libproj-dev - + sudo apt-get -y update && sudo apt-get install -y \ + libgit2-dev libicu-dev gdal-bin proj-data proj-bin libv8-dev libprotobuf-dev protobuf-compiler \ + libudunits2-dev libgdal-dev libgeos-dev libproj-dev libfontconfig1-dev libjq-dev libmysqlclient-dev libpng-dev + sudo apt-get update - name: Install packages run: Rscript install-packages.R diff --git a/install-packages.R b/install-packages.R index d2ae6b58..a179c83b 100644 --- a/install-packages.R +++ b/install-packages.R @@ -2,8 +2,7 @@ if ("pacman" %in% rownames(installed.packages()) == FALSE) install.packages("pacman") # Install packages required for analysis - -pacman::p_load(git2r, httr, semver, sf, testthat, yaml, +pacman::p_load(git2r, httr, semver, testthat, yaml, dplyr, lubridate, remotes) remotes::install_github("weecology/wader")