Skip to content

Commit

Permalink
fix: install local version of FIMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bai-Li-NOAA committed Oct 18, 2023
1 parent f4f99fd commit 993131b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-googletest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()")

Expand Down

0 comments on commit 993131b

Please sign in to comment.