Skip to content

Commit

Permalink
Merge branch 'master' into reduce-test-output
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Nov 25, 2024
2 parents 4be1269 + 5a6d780 commit 491845a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/R-CMD-check-wsl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:

- uses: actions/checkout@v4

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
- uses: r-lib/actions/[email protected].1

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
with:
extra-packages: any::rcmdcheck, local::.

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
env:
_R_CHECK_CRAN_INCOMING_: false

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ jobs:

- uses: actions/checkout@v4

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
with:
r-version: ${{ matrix.config.r }}
rtools-version: ${{ matrix.config.rtools }}

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
with:
extra-packages: any::rcmdcheck, local::.

Expand All @@ -79,7 +79,7 @@ jobs:
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
env:
_R_CHECK_CRAN_INCOMING_: false

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
- uses: actions/checkout@v4

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
- uses: r-lib/actions/[email protected].1

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
with:
extra-packages: any::rcmdcheck, local::., any::covr, any::gridExtra

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmdstan-tarball-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
sudo apt-get install -y libcurl4-openssl-dev || true
sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev || true
- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1
with:
r-version: ${{ matrix.config.r }}
rtools-version: ${{ matrix.config.rtools }}

- uses: r-lib/actions/[email protected].0
- uses: r-lib/actions/[email protected].1

- name: Query dependencies
run: |
Expand Down
5 changes: 4 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ arch_is_aarch64 <- function() {
}

# Returns the type of make command to use to compile depending on the OS
# First checks if $MAKE is set, otherwise falls back to system-specific default
make_cmd <- function() {
if (os_is_windows() && !os_is_wsl() && (Sys.getenv("CMDSTANR_USE_RTOOLS") == "")) {
if (Sys.getenv("MAKE") != "") {
Sys.getenv("MAKE")
} else if (os_is_windows() && !os_is_wsl() && (Sys.getenv("CMDSTANR_USE_RTOOLS") == "")) {
"mingw32-make.exe"
} else {
"make"
Expand Down

0 comments on commit 491845a

Please sign in to comment.