Skip to content

Commit 4c1bada

Browse files
committed
add git workflows
1 parent ff1485f commit 4c1bada

3 files changed

Lines changed: 106 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Data correction
3+
about: Report an error in betydata and suggest a correction
4+
labels: data, correction
5+
---
6+
7+
### Summary
8+
<!-- Brief description of the issue -->
9+
10+
### Affected Record(s)
11+
12+
| Field | Value |
13+
|-------|-------|
14+
| Dataset | traitsview / species / other |
15+
| Record ID(s) | |
16+
| Column(s) | |
17+
18+
### Current Value
19+
<!-- What the data currently shows -->
20+
21+
### Suggested Correction
22+
<!-- What the value should be -->
23+
24+
### Source
25+
<!-- How you know the current value is wrong (publication, original data, etc.) -->
26+
- Citation/DOI:
27+
- Page/Table:
28+
- Additional evidence:
29+
30+
### Additional Context
31+
<!-- Any other relevant information -->
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Verified record report
3+
about: Report that you have verified a record matches its source
4+
labels: data, verification
5+
---
6+
7+
### Summary
8+
<!-- Which record(s) have you verified? -->
9+
10+
### Verified Record(s)
11+
12+
| Field | Value |
13+
|-------|-------|
14+
| Dataset | traitsview / other |
15+
| Record ID(s) | |
16+
17+
### Verification Details
18+
- Citation/DOI checked:
19+
- Page/Table/Figure:
20+
- Date verified:
21+
22+
### Confirmation
23+
- [ ] I have compared the record(s) to the original source
24+
- [ ] The values match the source publication
25+
- [ ] The `checked` value should be updated to `1` (passed)
26+
27+
### Notes
28+
<!-- Any discrepancies or observations -->

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

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
on:
2+
push:
3+
branches: [main, develop]
4+
pull_request:
5+
branches: [main, develop]
6+
7+
name: R-CMD-check
8+
9+
jobs:
10+
R-CMD-check:
11+
runs-on: ${{ matrix.config.os }}
12+
13+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
config:
19+
- {os: macos-latest, r: 'release'}
20+
- {os: windows-latest, r: 'release'}
21+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
22+
- {os: ubuntu-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'oldrel-1'}
24+
25+
env:
26+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
27+
R_KEEP_PKG_SOURCE: yes
28+
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- uses: r-lib/actions/setup-pandoc@v2
33+
34+
- uses: r-lib/actions/setup-r@v2
35+
with:
36+
r-version: ${{ matrix.config.r }}
37+
http-user-agent: ${{ matrix.config.http-user-agent }}
38+
use-public-rspm: true
39+
40+
- uses: r-lib/actions/setup-r-dependencies@v2
41+
with:
42+
extra-packages: any::rcmdcheck
43+
needs: check
44+
45+
- uses: r-lib/actions/check-r-package@v2
46+
with:
47+
upload-snapshots: true

0 commit comments

Comments
 (0)