diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index c388c88..e5cbb67 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -31,6 +31,13 @@ jobs: steps: - uses: actions/checkout@v3 + - if: runner.os == 'windows' + run: | + if(Test-path c:\\rtools40){ + echo "rtools40 is preinstalled" + } else { + choco install --verbose rtools --version 4.0.0.20220206 + } - if: matrix.config.os == 'ubuntu-18.04' run: sudo add-apt-repository ppa:cran/opencv-3.4