From 40de7a5e35051b82344aee8122a909f3b07fa3a5 Mon Sep 17 00:00:00 2001 From: Glenda Yenni Date: Mon, 11 Sep 2023 13:51:40 -0600 Subject: [PATCH] spatial packages fu [patch] --- .github/workflows/main.yml | 7 ++++--- install-packages.R | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) 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")