CI: Use prebuilt R packages
Change-Id: Icf644480331add423b35630b4adb1b5bead62fdc
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index 184e527..d151456 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -24,12 +24,17 @@
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
+ use-public-rspm: true
+ cache-version: 2
+ - uses: r-lib/actions/setup-r-dependencies@v2
+ with:
+ extra-packages: any::RKorAPClient
if: runner.os != 'Linux'
- name: Set up package maintainers R on Linux
run: |
sudo apt-get update -y
- sudo apt-get install -y libsodium-dev libxml2-dev libcurl4-openssl-dev
- sudo chown $USER /usr/local/lib/R/site-library
+ sudo apt-get install -y libglpk-dev libsodium-dev libxml2-dev libcurl4-openssl-dev
+ sudo chown $(whoami) /usr/local/lib/R/site-library
export R_LIBS_USER=/usr/local/lib/R/site-library
if: runner.os == 'Linux'
- name: Install R dependencies