Skip to content

Commit 729639c

Browse files
committed
Use github version of ecokit and Hmsc
1 parent 2c7b921 commit 729639c

File tree

2 files changed

+11
-24
lines changed

2 files changed

+11
-24
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,15 @@ jobs:
3939
http-user-agent: ${{ matrix.config.http-user-agent }}
4040
use-public-rspm: true
4141

42-
- name: Install remotes
43-
run: R -e 'install.packages("remotes", repos = "https://cloud.r-project.org")'
44-
45-
- name: Install HMSC and ecokit from GitHub
46-
run: |
47-
R -e 'remotes::install_github(c(
48-
"hmsc-r/HMSC",
49-
"elgabbas/ecokit"
50-
), dependencies = TRUE)'
51-
5242
- uses: r-lib/actions/setup-r-dependencies@v2
5343
with:
54-
extra-packages: any::lintr, local::.
44+
extra-packages: |
45+
any::lintr
46+
github::elgabbas/ecokit
47+
github::hmsc-r/HMSC
48+
local::.
5549
needs: lint
56-
50+
5751
- uses: r-lib/actions/check-r-package@v2
5852
with:
5953
upload-snapshots: true

.github/workflows/lint.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,13 @@ jobs:
2222
with:
2323
use-public-rspm: true
2424

25-
- name: Install remotes
26-
run: R -e 'install.packages("remotes", repos = "https://cloud.r-project.org")'
27-
28-
- name: Install HMSC and ecokit from GitHub
29-
run: |
30-
R -e 'remotes::install_github(c(
31-
"hmsc-r/HMSC",
32-
"elgabbas/ecokit"
33-
), dependencies = TRUE)'
34-
35-
3625
- uses: r-lib/actions/setup-r-dependencies@v2
3726
with:
38-
extra-packages: any::lintr, local::.
27+
extra-packages: |
28+
any::lintr
29+
github::elgabbas/ecokit
30+
github::hmsc-r/HMSC
31+
local::.
3932
needs: lint
4033

4134
- name: Lint

0 commit comments

Comments
 (0)