Skip to content

Commit 342961d

Browse files
Attempt 1 with GitHub Actions
1 parent a11e768 commit 342961d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: R-CMD-check
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
R-CMD-check:
7+
runs-on: [ubuntu-latest, macos-latest, windows-latest]
8+
name: R CMD Check
9+
env:
10+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up R
16+
uses: r-lib/actions/setup-r@v2
17+
18+
- name: Install R dependencies
19+
run: |
20+
install.packages('remotes')
21+
remotes::install_deps(dependencies = TRUE)
22+
remotes::install_github("valentinitnelav/plotbiomes")

0 commit comments

Comments
 (0)