Skip to content

Commit

Permalink
configuration updates for lintr-3.2.0 (#1140)
Browse files Browse the repository at this point in the history
* configuration updates for lintr-3.2.0

* adjust actions/checkout in workflow
  • Loading branch information
aronatkins authored Feb 25, 2025
1 parent a3ebf70 commit 5af8f1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
Expand All @@ -32,7 +32,7 @@ jobs:
R_KEEP_PKG_SOURCE: yes

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

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

Expand All @@ -41,7 +41,7 @@ jobs:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: quarto-dev/quarto-actions/setup@v2

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-no-suggests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:
pull_request:
branches: [main, master]

name: R-CMD-check-hard
name: check-no-suggests.yaml

permissions: read-all

jobs:
R-CMD-check:
check-no-suggests:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})
Expand Down
4 changes: 2 additions & 2 deletions .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ linters: linters_with_defaults(
object_usage_linter = NULL,
brace_linter = NULL,
commented_code_linter = NULL,
cyclocomp_linter = NULL,
seq_linter = NULL
seq_linter = NULL,
return_linter = NULL
)

0 comments on commit 5af8f1e

Please sign in to comment.