Skip to content

Commit

Permalink
Merge pull request #25 from BirdsCanada/dev
Browse files Browse the repository at this point in the history
Tweak cosewic_ranges()
  • Loading branch information
steffilazerte authored Aug 1, 2024
2 parents a6e52da + 85ba3af commit 6d368c4
Show file tree
Hide file tree
Showing 49 changed files with 22,840 additions and 342 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,28 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master, dev, sandbox]
branches:
- main
- master
- dev
- sandbox
pull_request:
branches: [main, master, dev, sandbox]
branches:
- main
- master
- dev
- sandbox
schedule:
- cron: '0 0 1 * *' # Run once a month on the 1st at midnight


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

name: R-CMD-check

permissions: read-all

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
Expand All @@ -32,7 +46,7 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:

name: pkgdown

permissions: read-all

jobs:
pkgdown:
runs-on: ubuntu-latest
Expand All @@ -20,8 +22,10 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
naturecounts_testuser: ${{secrets.naturecounts_testuser}}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -38,7 +42,7 @@ jobs:
any::rnaturalearthhires
any::rnaturalearthdata
any::patchwork
any::rgdal
any::prettymapr
needs: website

- name: Build site
Expand All @@ -47,7 +51,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
Expand Down
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: naturecounts
Type: Package
Title: Access and download data on plant and animal populations from NatureCounts
Version: 0.4.0
Version: 0.4.1
Authors@R: c(
person("Steffi", "LaZerte", email = "[email protected]", role = "aut"),
person("Denis", "Lepage", email = "[email protected]", role = c("aut", "cre")))
Expand Down Expand Up @@ -44,10 +44,11 @@ Suggests:
rmarkdown,
sf (>= 1.0-9),
spelling,
testthat
testthat,
vdiffr
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
URL: https://github.com/BirdsCanada/naturecounts,
https://naturecounts.ca,
https://birdscanada.github.io/naturecounts/
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# naturecounts 0.4.1
* Fix use of species_id and record_id in `cosewic_ranges()`.
* Truly allow different columns
* Also allow no `species_id` or `record_id` columns

# naturecounts 0.4.0
* Add tools for COSEWIC assessments
* Fix bug in search_species() which returned all authorities
Expand Down
Loading

0 comments on commit 6d368c4

Please sign in to comment.