From 2ae5f0532082e991b0c05303b862e5050751ea8a 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 | 4 +--- install-packages.R | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 523d33a..543b923 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,9 +48,7 @@ jobs: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2- - 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 + run: sudo apt-get install libgit2-dev libcurl4-openssl-dev libudunits2-dev libgdal-dev libnetcdf-dev libgeos-dev libproj-dev - name: Install packages run: Rscript install-packages.R diff --git a/install-packages.R b/install-packages.R index d2ae6b5..a179c83 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")