Skip to content

Commit fa43240

Browse files
authored
Merge pull request #16 from inbo/checklist
Checklist
2 parents 30cff66 + d2a17d0 commit fa43240

69 files changed

Lines changed: 3299 additions & 826 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.Rbuildignore

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
.travis.yml
12
^.*\.Rproj$
3+
^CITATION\.cff$
4+
^LICENSE.md$
5+
^README\.Rmd$
26
^\.Rproj\.user$
3-
^man-roxygen$
4-
.travis.yml
5-
appveyor.yml
6-
tic.R
7+
^\.github$
8+
^\.httr-oauth$
9+
^\.zenodo\.json$
10+
^_pkgdown.yml$
711
^_pkgdown\.yml$
12+
^checklist.yml$
13+
^codecov\.yml$
14+
^data-raw$
815
^docs$
16+
^man-roxygen$
917
^pkgdown$
10-
^data-raw$
18+
appveyor.yml
19+
tic.R

.github/CODE_OF_CONDUCT.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, we pledge to respect all people who
4+
contribute through reporting issues, posting feature requests, updating documentation,
5+
submitting pull requests or patches, and other activities.
6+
7+
We are committed to making participation in this project a harassment-free experience for
8+
everyone, regardless of level of experience, gender, gender identity and expression,
9+
sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
10+
11+
Examples of unacceptable behaviour by participants include the use of sexual language or
12+
imagery, derogatory comments or personal attacks, trolling, public or private harassment,
13+
insults, or other unprofessional conduct.
14+
15+
Project maintainers have the right and responsibility to remove, edit, or reject comments,
16+
commits, code, wiki edits, issues, and other contributions that are not aligned to this
17+
Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed
18+
from the project team.
19+
20+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported by
21+
opening an issue or contacting one or more of the project maintainers.
22+
23+
This Code of Conduct is adapted from the Contributor Covenant
24+
(http://contributor-covenant.org), version 1.0.0, available at
25+
http://contributor-covenant.org/version/1/0/0/

.github/CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# CONTRIBUTING #
2+
3+
### Fixing typos
4+
5+
Small typos or grammatical errors in documentation may be edited directly using the GitHub web interface, so long as the changes are made in the _source_ file.
6+
E.g. edit a `roxygen2` comment in a `.R` file below `R/`, not in an `.Rd` file below `man/`.
7+
8+
### Prerequisites
9+
10+
Before you make a substantial pull request, you should always file an issue and make sure someone from the team agrees that it’s a problem.
11+
If you’ve found a bug, create an associated issue and illustrate the bug with a minimal [reproducible example](https://www.tidyverse.org/help/#reprex).
12+
13+
### Pull request process
14+
15+
* We recommend that you create a Git branch for each pull request (PR).
16+
* Look at the GitHub Actions build status before and after making changes.
17+
The `README` should contain badges for any continuous integration services used by the package.
18+
* We require the `tidyverse` [style guide](http://style.tidyverse.org).
19+
You can use the [`styler`](https://CRAN.R-project.org/package=styler) package to apply these styles, but please don't restyle code that has nothing to do with your PR.
20+
* We use [`roxygen2`](https://cran.r-project.org/package=roxygen2).
21+
* We use [`testthat`](https://cran.r-project.org/package=testthat).
22+
Contributions with test cases included are easier to accept.
23+
* For user-facing changes, add a bullet to the top of `NEWS.md` below the current development version header describing the changes made followed by your GitHub username, and links to relevant issue(s)/PR(s).
24+
25+
### Code of Conduct
26+
27+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).
28+
By contributing to this project you agree to abide by its terms.
29+
30+
### Prefer to Email?
31+
32+
Email the person listed as maintainer in the `DESCRIPTION` file of this repo.
33+
34+
Though note that private discussions over email don't help others - of course
35+
email is totally warranted if it's a sensitive problem of any kind.
36+
37+
### Thanks for contributing!
38+
39+
This contributing guide is adapted from the `tidyverse` contributing guide available at https://raw.githubusercontent.com/r-lib/usethis/master/inst/templates/tidy-contributing.md
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches-ignore:
4+
- main
5+
- master
6+
- ghpages
7+
8+
name: "check package with checklist"
9+
10+
jobs:
11+
check-package:
12+
runs-on: ubuntu-latest
13+
name: "check package"
14+
env:
15+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
permissions:
18+
contents: read
19+
steps:
20+
- uses: inbo/actions/[email protected]
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
- master
6+
pull_request:
7+
branches:
8+
- main
9+
- master
10+
11+
name: R-CMD-check-OS
12+
13+
jobs:
14+
R-CMD-check:
15+
runs-on: ${{ matrix.config.os }}
16+
17+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
18+
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
config:
23+
- {os: macOS-latest, r: 'release'}
24+
- {os: windows-latest, r: 'release'}
25+
- {os: ubuntu-22.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
26+
- {os: ubuntu-22.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
27+
28+
env:
29+
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
30+
_R_CHECK_SYSTEM_CLOCK_: false
31+
RSPM: ${{ matrix.config.rspm }}
32+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
33+
34+
steps:
35+
- uses: actions/checkout@v3
36+
37+
- uses: r-lib/actions/setup-r@v2
38+
with:
39+
r-version: ${{ matrix.config.r }}
40+
extra-repositories: https://inbo.r-universe.dev
41+
42+
- uses: r-lib/actions/setup-pandoc@v2
43+
44+
- uses: r-lib/actions/setup-r-dependencies@v2
45+
with:
46+
extra-packages: any::rcmdcheck
47+
needs: check
48+
49+
- uses: r-lib/actions/check-r-package@v2
50+
with:
51+
error-on: '"error"'
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
- master
6+
permissions:
7+
contents: write
8+
9+
name: "check package on main with checklist"
10+
11+
jobs:
12+
check-package:
13+
runs-on: ubuntu-latest
14+
name: "check package"
15+
env:
16+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
steps:
19+
- uses: inbo/actions/[email protected]

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Releases
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
workflow_run:
8+
workflows: ["check package on main with checklist"]
9+
types:
10+
- completed
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Get tag
20+
run: |
21+
git fetch --tags --force
22+
TAG=$(git tag --contains $(git rev-parse HEAD))
23+
TAG_BODY=$(git tag --contains $(git rev-parse HEAD) --format='%(contents)')
24+
echo "tag=$TAG" >> $GITHUB_ENV
25+
echo "$TAG_BODY" > body.md
26+
- uses: ncipollo/release-action@v1
27+
with:
28+
name: Release ${{ env.tag }}
29+
tag: ${{ env.tag }}
30+
bodyFile: body.md

.gitignore

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1-
.Rproj.user
2-
.Rhistory
1+
*.dbf
2+
*.doc*
3+
*.gddoc
4+
*.gdsheet
5+
*.gpkg
6+
*.html
7+
*.mdb
8+
*.shp*
9+
*.shx
10+
*.xls*
11+
*_files
12+
.DS_Store
313
.RData
14+
.Renviron
15+
.Rhistory
16+
.Rproj.user
417
.Ruserdata
5-
inst/doc
18+
.httr-oauth
619
docs
20+
inst/doc
21+
libs
22+
output
23+
renv/library

.travis.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.zenodo.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"title": "effectclass: Classification and Visualisation of Effects",
3+
"version": "0.1.4",
4+
"license": "GPL-3.0",
5+
"upload_type": "software",
6+
"description": "<p>Classify effects by comparing the confidence intervals with\nthresholds.<\/p>",
7+
"keywords": [
8+
"classification",
9+
"effect size",
10+
"uncertainty",
11+
"visualisation"
12+
],
13+
"access_right": "open",
14+
"language": "eng",
15+
"contributors": [
16+
{
17+
"name": "Onkelinx, Thierry",
18+
"affiliation": "Research Institute for Nature and Forest (INBO)",
19+
"orcid": "0000-0001-8804-4216",
20+
"type": "ContactPerson"
21+
},
22+
{
23+
"name": "Research Institute for Nature and Forest (INBO)",
24+
"type": "RightsHolder"
25+
}
26+
],
27+
"creators": [
28+
{
29+
"name": "Onkelinx, Thierry",
30+
"affiliation": "Research Institute for Nature and Forest (INBO)",
31+
"orcid": "0000-0001-8804-4216"
32+
}
33+
],
34+
"communities": [
35+
{
36+
"identifier": "inbo"
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)