From 993131b4e7e0049a2faa038e9cc608f64152573d Mon Sep 17 00:00:00 2001 From: Bai Li - NOAA <59936250+Bai-Li-NOAA@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:41:16 +0000 Subject: [PATCH] fix: install local version of FIMS --- .github/workflows/run-googletest.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-googletest.yml b/.github/workflows/run-googletest.yml index 88a89f511..4e1219559 100644 --- a/.github/workflows/run-googletest.yml +++ b/.github/workflows/run-googletest.yml @@ -29,7 +29,7 @@ jobs: with: extra-packages: any::remotes - name: install local version of FIMS - run: remotes::install_github('NOAA-FIMS/FIMS', ref='f2b6b65b13c2b9d22b4950a141aeca6670abdbaf') + run: remotes::install_local(upgrade = "always") shell: Rscript {0} - name: setup for gtest run: FIMS:::setup_gtest() diff --git a/CMakeLists.txt b/CMakeLists.txt index 05d946283..64d98dd30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ EXECUTE_PROCESS( MESSAGE(STATUS "R_HOME is ${R_HOME}") EXECUTE_PROCESS( - COMMAND R "--slave" "--no-save" "-e" "remotes::install_github('NOAA-FIMS/FIMS', ref='f2b6b65b13c2b9d22b4950a141aeca6670abdbaf')") + COMMAND R "--slave" "--no-save" "-e" "remotes::install_local(upgrade = 'always')") EXECUTE_PROCESS( COMMAND R "--slave" "--no-save" "-e" "FIMS:::setup_gtest()")