Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:
fail-fast: false
matrix:
config:
#- {os: windows-latest, r: 'release'}
- {os: windows-latest,
# r: 'release'}
r: "4.5"
}
- {
os: ubuntu-latest,
r: "release",
#r: "release",
r: "4.5",
rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest",
}

Expand Down Expand Up @@ -104,7 +108,6 @@ jobs:
any::rstudioapi
any::semver
any::sessioninfo
any::testthat
any::tibble
any::tictoc
any::tidyr
Expand Down Expand Up @@ -135,8 +138,10 @@ jobs:
packageVersion("testthat") == required_testthat

if (!testthat_ok) {
remove.packages("testthat")
install.packages('ellipsis')
install.packages('https://cran.r-project.org/src/contrib/Archive/testthat/testthat_3.1.8.tar.gz', repos = NULL, type = 'source')
#install.packages('https://cran.r-project.org/src/contrib/Archive/testthat/testthat_3.1.8.tar.gz', repos = NULL, type = 'source')
remotes::install_version("testthat", version = "3.1.8", upgrade = "never")
}
shell: Rscript {0}

Expand All @@ -150,10 +155,10 @@ jobs:
if: env.has_testthat == 'true'
run: find . -name testthat.Rout -exec cat '{}' ';'

- name: Remove unwanted directories from check artifacts
run: |
Remove-Item -Recurse -Force check/*/SticsRTests
Remove-Item -Recurse -Force check/*/00_pkg_src
#- name: Remove unwanted directories from check artifacts
#run: |
#Remove-Item -Recurse -Force check/*/SticsRTests
#Remove-Item -Recurse -Force check/*/00_pkg_src

- name: Upload check results
if: failure()
Expand Down
Loading