Skip to content

Commit

Permalink
Remove devtools::uninstall calls
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyWillard committed Oct 18, 2024
1 parent d659cf7 commit 0bebbb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/flepicommon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,12 @@ jobs:
shell: Rscript {0}
- name: Install The flepicommon Package
run: |
if ("flepicommon" %in% installed.packages()[,"Package"]) {
devtools::uninstall(pkg = "flepicommon")
}
devtools::install(
pkg = "flepimop/R_packages/flepicommon",
args = c(getOption("devtools.install.args"), "--install-tests"),
quick = TRUE,
dependencies = TRUE,
force = TRUE
)
shell: Rscript {0}
- name: Run Tests
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/inference-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,11 @@ jobs:
shell: Rscript {0}
- name: Install The flepicommon Package
run: |
if ("flepicommon" %in% installed.packages()[,"Package"]) {
devtools::uninstall(pkg = "flepicommon")
}
devtools::install(
pkg = "flepimop/R_packages/flepicommon",
quick = TRUE,
dependencies = TRUE,
force = TRUE
)
shell: Rscript {0}
- name: Install R Dependencies For inference
Expand All @@ -101,14 +99,12 @@ jobs:
shell: Rscript {0}
- name: Install The inference Package
run: |
if ("inference" %in% installed.packages()[,"Package"]) {
devtools::uninstall(pkg = "inference")
}
devtools::install(
pkg = "flepimop/R_packages/inference",
args = c(getOption("devtools.install.args"), "--install-tests"),
quick = TRUE,
dependencies = TRUE,
force = TRUE
)
shell: Rscript {0}
- name: Run Tests
Expand Down

0 comments on commit 0bebbb3

Please sign in to comment.