Skip to content

Commit 8c0a1bf

Browse files
Copilotosorensen
andcommitted
Refine --as-cran configuration based on code review feedback
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
1 parent 2ce2cab commit 8c0a1bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- {os: ubuntu-latest, r: 'release'}
2424
- {os: ubuntu-latest, r: 'oldrel-1'}
2525
- {os: windows-latest, r: 'release'}
26-
# Debian-like environment with CRAN checks
27-
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release', check-as-cran: 'true'}
26+
# CRAN-like checks on Debian (using ubuntu-latest with --as-cran)
27+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release', as-cran: true}
2828

2929
env:
3030
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@@ -50,4 +50,4 @@ jobs:
5050
with:
5151
upload-snapshots: true
5252
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
53-
args: ${{ matrix.config.check-as-cran == 'true' && 'c("--as-cran")' || 'c("--no-manual")' }}
53+
args: ${{ matrix.config.as-cran && 'c("--as-cran")' || 'c()' }}

0 commit comments

Comments
 (0)