Skip to content

Commit

Permalink
evaluate support r 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Young Geun Kim committed Dec 13, 2024
1 parent 2d2599b commit 15d9cf9
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,9 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Determine evaluate package version on Windows
if: runner.os == 'Windows'
run: |
if ($Env:MATRIX_CONFIG_R -lt "4.0.0") {
echo "EVALUATE_PKG=evaluate@0.23" >> $Env:GITHUB_ENV
} else {
echo "EVALUATE_PKG=evaluate" >> $Env:GITHUB_ENV
}
shell: pwsh

- name: Determine evaluate package version on non-Windows
if: runner.os != 'Windows'
run: |
if [ "${{ matrix.config.r }}" \< "4.0.0" ]; then
echo "EVALUATE_PKG=evaluate@0.23" >> $GITHUB_ENV
else
echo "EVALUATE_PKG=evaluate" >> $GITHUB_ENV
fi
shell: bash

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, ${{ env.EVALUATE_PKG }}
# extra-packages: >
# any::rcmdcheck,
# knitr=?ignore-before-r=4.0.0,
# rmarkdown=?ignore-before-r=4.0.0,
# testthat=?ignore-before-r=4.0.0
extra-packages: any::rcmdcheck
needs: check

# do not build vignettes in github actions check and ignore warnings
Expand Down

0 comments on commit 15d9cf9

Please sign in to comment.