-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from inbo/watervogel
Watervogel
- Loading branch information
Showing
74 changed files
with
1,083 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
^_pkgdown.yml$ | ||
^.*\.Rproj$ | ||
^CITATION\.cff$ | ||
^LICENSE.md$ | ||
^README\.Rmd$ | ||
^\.Rproj\.user$ | ||
^\.git$ | ||
^\.github$ | ||
^\.httr-oauth$ | ||
^\.lintr$ | ||
^\.Rproj\.user$ | ||
^\.zenodo\.json$ | ||
^_pkgdown.yml$ | ||
^checklist.yml$ | ||
^CITATION\.cff$ | ||
^codecov\.yml$ | ||
^data-raw$ | ||
^docs$ | ||
^LICENSE.md$ | ||
^man-roxygen$ | ||
^pkgdown$ | ||
^README\.Rmd$ | ||
^wercker\.yml$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,20 @@ on: | |
- master | ||
- ghpages | ||
|
||
name: "check package" | ||
name: "check package with checklist" | ||
|
||
jobs: | ||
check-package: | ||
runs-on: ubuntu-latest | ||
name: "check package" | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
ORCID_TOKEN: ${{ secrets.ORCID_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
N2KBUCKET: ${{ secrets.N2KBUCKET }} | ||
permissions: | ||
contents: read | ||
steps: | ||
- uses: inbo/actions/check_pkg@master | ||
with: | ||
token: ${{ secrets.PAT }} | ||
- uses: inbo/actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,21 @@ on: | |
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '6 0 15 * *' | ||
permissions: | ||
contents: write | ||
|
||
name: "check package on main" | ||
name: "check package on main with checklist" | ||
|
||
jobs: | ||
check-package: | ||
runs-on: ubuntu-latest | ||
name: "check package" | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
ORCID_TOKEN: ${{ secrets.ORCID_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
N2KBUCKET: ${{ secrets.N2KBUCKET }} | ||
steps: | ||
- uses: inbo/actions/check_pkg@master | ||
with: | ||
token: ${{ secrets.PAT }} | ||
- uses: inbo/actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,41 @@ | ||
name: Releases | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
name: Create Release | ||
- v* | ||
workflow_run: | ||
workflows: ["check package on main with checklist"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
prepare: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
tag: ${{ steps.gettag.outputs.tag }} | ||
body: ${{ steps.gettag.outputs.body }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Get tag message | ||
- uses: actions/checkout@v3 | ||
- name: Get tag | ||
run: | | ||
TAG_BODY=$(git tag --contains ${{ github.sha }} -n100 | awk '(NR>1)') | ||
echo "::set-output name=TAG_BODY::$TAG_BODY" | ||
id: tag-body | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
git fetch --tags --force | ||
TAG=$(git tag --contains $(git rev-parse HEAD)) | ||
echo "tag=$TAG" >> "$GITHUB_OUTPUT" | ||
TAG_BODY=$(git tag --contains $(git rev-parse HEAD) --format='%(contents)') | ||
TAG_BODY="${TAG_BODY//'%'/'%25'}" | ||
TAG_BODY="${TAG_BODY//$'\n'/'%0A'}" | ||
TAG_BODY="${TAG_BODY//$'\r'/'%0D'}" | ||
echo "body=$TAG_BODY" >> "$GITHUB_OUTPUT" | ||
id: gettag | ||
publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
needs: prepare | ||
steps: | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: ${{ steps.tag-body.outputs.TAG_BODY }} | ||
draft: false | ||
prerelease: false | ||
name: Release ${{needs.prepare.outputs.tag}} | ||
tag: ${{needs.prepare.outputs.tag}} | ||
body: ${{needs.prepare.outputs.body}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
.httr-oauth | ||
*.dbf | ||
*.doc* | ||
*.gddoc | ||
*.gdsheet | ||
*.gpkg | ||
*.html | ||
*.mdb | ||
*.shp* | ||
*.shx | ||
*.xls* | ||
*_files | ||
.DS_Store | ||
.RData | ||
.Renviron | ||
.Rhistory | ||
.Rproj.user | ||
.Ruserdata | ||
*.html | ||
.httr-oauth | ||
docs | ||
libs | ||
output | ||
renv/library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,36 @@ | ||
{ | ||
"title": "n2kanalysis: Generic Functions to Analyse Data from the Natura 2000 Monitoring", | ||
"version": "0.3.0", | ||
"description": "All generic functions for the analysis. The full analysis is defined in the analysis package of each monitoring scheme.", | ||
"creators": [ | ||
{ | ||
"name": "Onkelinx, Thierry", | ||
"orcid": "https://orcid.org/0000-0001-8804-4216" | ||
} | ||
], | ||
"upload_type": "software", | ||
"access_right": "open", | ||
"title": "n2kanalysis: Generic Functions to Analyse Data from the 'Natura 2000' Monitoring", | ||
"version": "0.3.1", | ||
"license": "GPL-3.0", | ||
"communities": [ | ||
{ | ||
"identifier": "inbo" | ||
} | ||
"upload_type": "software", | ||
"description": "<p>All generic functions and classes for the analysis for the ‘Natura\n2000’ monitoring. The classes contain all required data and definitions\nto fit the model without the need to access other sources. Potentially\nthey might need access to one or more parent objects. An aggregation\nobject might for example need the result of an imputation object. The\nactual definition of the analysis, using these generic function and\nclasses, is defined in dedictated analysis R packages for every\nmonitoring scheme. For example ‘abvanalysis’ and\n‘watervogelanalysis’.<\/p>", | ||
"keywords": [ | ||
"analysis, reproducible research, natura 2000, monitoring" | ||
], | ||
"access_right": "open", | ||
"language": "eng", | ||
"contributors": [ | ||
{ | ||
"name": "Research Institute for Nature and Forest", | ||
"type": "RightsHolder" | ||
"name": "Onkelinx, Thierry", | ||
"affiliation": "Research Institute for Nature and Forest (INBO)", | ||
"orcid": "0000-0001-8804-4216", | ||
"type": "ContactPerson" | ||
}, | ||
{ | ||
"name": "Research Institute for Nature and Forest (INBO)", | ||
"type": "RightsHolder" | ||
} | ||
], | ||
"creators": [ | ||
{ | ||
"name": "Onkelinx, Thierry", | ||
"type": "ContactPerson", | ||
"orcid": "https://orcid.org/0000-0001-8804-4216" | ||
"affiliation": "Research Institute for Nature and Forest (INBO)", | ||
"orcid": "0000-0001-8804-4216" | ||
} | ||
], | ||
"language": "eng", | ||
"keywords": "R package" | ||
"communities": [ | ||
{ | ||
"identifier": "inbo" | ||
} | ||
] | ||
} |
Oops, something went wrong.