diff --git a/.github/workflows/check-full.yaml b/.github/workflows/check-full.yaml index 291e3ca00..24c45c6e0 100644 --- a/.github/workflows/check-full.yaml +++ b/.github/workflows/check-full.yaml @@ -9,6 +9,8 @@ on: branches: [main, master, v2-branch] pull_request: branches: [main, master, v2-branch] +on: + workflow_dispatch: name: R-CMD-check @@ -51,6 +53,20 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true + + - name: check gcc version + run: | + print(Sys.which("gcc")) + print(system("where.exe gcc")) + print(Sys.getenv("PATH")) + shell: Rscript {0} + + - name: Test compilation on Windows + run: | + install.packages("remotes") + remotes::install_github("r-lib/testthat") + shell: Rscript {0} + - uses: ./setup-r-dependencies with: extra-packages: any::rcmdcheck