Skip to content

Commit

Permalink
chore: spring cleaning
Browse files Browse the repository at this point in the history
closes #49
  • Loading branch information
jack-davison committed Aug 2, 2023
1 parent 5154535 commit 30f8ed2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,33 @@ name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ubuntu-latest
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

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

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

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
Expand All @@ -27,3 +45,5 @@ jobs:
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
2 changes: 2 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ Description: Combine the air quality data analysis methods of 'openair'
Functionality includes plotting site maps, "directional analysis"
figures such as polar plots, and air mass trajectories.
License: GPL (>= 3)
URL: https://davidcarslaw.github.io/openairmaps/
URL: https://davidcarslaw.github.io/openairmaps/,
https://github.com/davidcarslaw/openairmaps
BugReports: https://github.com/davidcarslaw/openairmaps/issues
Depends:
R (>= 3.2.0)
Imports:
Expand Down Expand Up @@ -40,9 +42,9 @@ Suggests:
covr,
testthat (>= 3.0.0),
worldmet
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-GB
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Config/testthat/edition: 3

0 comments on commit 30f8ed2

Please sign in to comment.