2626 matrix :
2727 config :
2828 - {os: windows-latest, r: 'release'}
29- # - {os: windows-2022, r: 'devel'}
29+ # - {os: windows-2022, r: 'devel'}
3030 - {os: macOS-latest, r: 'release'}
3131 - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
3232 - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
@@ -46,18 +46,18 @@ jobs:
4646 http-user-agent : ${{ matrix.config.http-user-agent }}
4747 use-public-rspm : true
4848
49- # - name: Setup R (Windows UCRT)
50- # if: matrix.config.os == 'windows-2022 '
51- # uses: kalibera/ucrt3/actions/r-install@main
49+ - name : Setup R (Windows UCRT)
50+ if : matrix.config.os == 'windows-latest '
51+ uses : kalibera/ucrt3/actions/r-install@main
5252
53- # - name: Install UCRT toolchain
54- # if: matrix.config.os == 'windows-2022 '
55- # uses: kalibera/ucrt3/actions/toolchain-install@main
56- # with:
57- # # base ... toolchain has the compilers and libraries to build R and recommended packages
58- # # full ... additional libraries to build CRAN packages
59- # # none ... no toolchain is needed (no native code)
60- # toolchain-type: full
53+ - name : Install UCRT toolchain
54+ if : matrix.config.os == 'windows-latest '
55+ uses : kalibera/ucrt3/actions/toolchain-install@main
56+ with :
57+ # base ... toolchain has the compilers and libraries to build R and recommended packages
58+ # full ... additional libraries to build CRAN packages
59+ # none ... no toolchain is needed (no native code)
60+ toolchain-type : full
6161
6262 - uses : r-lib/actions/setup-pandoc@v2
6363
@@ -108,18 +108,18 @@ jobs:
108108 shell : Rscript {0}
109109
110110# - name: Whereabouts of gcc and g++
111- # if: matrix.config.os == 'windows-2022 '
111+ # if: matrix.config.os == 'windows-latest '
112112# run: |
113113# echo %PATH%
114114# where gcc
115115# where g++
116116
117- # - name: Check package (UCRT)
118- # if: matrix.config.os == 'windows-2022 '
119- # env:
120- # _R_INSTALL_TIME_PATCHES_: no
121- # TZ: UTC
122- # uses: kalibera/R-actions/pkg-check@master
117+ - name : Check package (UCRT)
118+ if : matrix.config.os == 'windows-latest '
119+ env :
120+ _R_INSTALL_TIME_PATCHES_ : no
121+ TZ : UTC
122+ uses : kalibera/R-actions/pkg-check@master
123123
124124 - name : Build Windows binary package
125125 if : matrix.os == 'windows-latest'
0 commit comments