-
Notifications
You must be signed in to change notification settings - Fork 10
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 #110 from r-spatialecology/main
Update v2.0.1
- Loading branch information
Showing
18 changed files
with
407 additions
and
108 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,15 @@ | ||
^CRAN-RELEASE$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^README.*$ | ||
^cran-comments\.md$ | ||
^docs$ | ||
^CODE_OF_CONDUCT.*$ | ||
^vignettes/articles$ | ||
codecov.yml | ||
codemeta.json | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
cran-comments.md | ||
data-raw | ||
docs | ||
LICENSE.md | ||
pkgdown | ||
README.Rmd | ||
README.md | ||
shar.Rproj | ||
vignettes/articles | ||
^data-raw$ | ||
^_pkgdown\.yml$ | ||
^codecov\.yml$ | ||
^CONTRIBUTING.*$ | ||
^pkgdown$ | ||
^\.github$ | ||
^LICENSE\.md$ | ||
^CRAN-SUBMISSION$ | ||
^CODE_OF_CONDUCT\.md$ | ||
.github | ||
_pkgdown.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 |
---|---|---|
@@ -1,35 +1,39 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2-branch/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
paths: ['README.Rmd'] | ||
paths: ["README.Rmd"] | ||
workflow_dispatch: | ||
|
||
name: render-rmarkdown | ||
name: render-readme | ||
|
||
jobs: | ||
render-rmarkdown: | ||
render-readme: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
extra-repositories: 'http://packages.ropensci.org' | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rmarkdown, any::spatstat, any::terra | ||
|
||
- uses: r-lib/actions/setup-renv@v2 | ||
- name: Render README files | ||
run: Rscript -e 'rmarkdown::render("README.Rmd")' | ||
|
||
- name: Render Rmarkdown files and Commit Results | ||
- name: Commit README | ||
run: | | ||
RMD_PATH=($(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '[.]Rmd$')) | ||
Rscript -e 'for (f in commandArgs(TRUE)) if (file.exists(f)) rmarkdown::render(f)' ${RMD_PATH[*]} | ||
git config --local user.name "$GITHUB_ACTOR" | ||
git config --local user.email "[email protected]" | ||
git commit ${RMD_PATH[*]/.Rmd/.md} -m 'Re-build Rmarkdown files' || echo "No changes to commit" | ||
git add README.md man/figures/README-* | ||
git commit -m "Re-build README.md" || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
|
||
on: | ||
push: | ||
paths: ['DESCRIPTION'] | ||
workflow_dispatch: | ||
|
||
name: write-codemeta | ||
|
||
jobs: | ||
write-codemeta: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- name: Install codemeta | ||
run: Rscript -e 'install.packages("codemeta")' | ||
|
||
- name: Write codemeta file | ||
run: Rscript -e 'codemeta::write_codemeta()' | ||
|
||
- name: Commit codemeta file | ||
run: | | ||
git config --local user.name "$GITHUB_ACTOR" | ||
git config --local user.email "[email protected]" | ||
git add codemeta.json | ||
git commit -m "Re-write codemeta.json" || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" |
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,8 +1,8 @@ | ||
Type: Package | ||
Package: shar | ||
Title: Species-Habitat Associations | ||
Version: 2.0.0 | ||
Authors@R: c(person("Maximillian H.K.", "Hesselbarth", email = "[email protected]", | ||
Version: 2.0.1 | ||
Authors@R: c(person("Maximilian H.K.", "Hesselbarth", email = "[email protected]", | ||
role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1125-9918")), | ||
person("Marco", "Sciaini", email = "[email protected]", | ||
role = "aut", comment = c(ORCID = "0000-0002-3042-5435")), | ||
|
@@ -11,7 +11,7 @@ Authors@R: c(person("Maximillian H.K.", "Hesselbarth", email = "mhk.hesselbarth@ | |
person("Thomas", "Etherington", email = "[email protected]", | ||
role = "ctb", comment = c(ORCID = "0000-0002-3187-075X")) | ||
) | ||
Maintainer: Maximillian H.K. Hesselbarth <[email protected]> | ||
Maintainer: Maximilian H.K. Hesselbarth <[email protected]> | ||
Description: | ||
Analyse species-habitat associations in R. Therefore, information about the location | ||
of the species (as a point pattern) is needed together with environmental conditions | ||
|
@@ -37,18 +37,8 @@ RoxygenNote: 7.2.1 | |
Suggests: | ||
covr, | ||
dplyr, | ||
getCRUCLdata, | ||
ggplot2, | ||
future, | ||
future.apply, | ||
knitr, | ||
patchwork, | ||
rgbif, | ||
rgdal, | ||
rmarkdown, | ||
rnaturalearth, | ||
rnaturalearthdata, | ||
sf, | ||
spatstat (>= 2.0.0), | ||
testthat (>= 2.1.0) | ||
Additional_repositories: http://packages.ropensci.org | ||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.