Skip to content

Commit 37d2e8d

Browse files
committed
Quote R_HOME in recursive make test
1 parent 9c579c3 commit 37d2e8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ arch_is_aarch64 <- function() {
8080
}
8181

8282
# Returns the type of make command to use to compile depending on the OS
83-
# First checks if $MAKE is set, otherwise falls back to system-specific default
83+
# First checks if $MAKE is set, otherwise falls back to "make"
8484
make_cmd <- function() {
8585
warn_if_ignored_msys_toolchain_env()
8686
if (Sys.getenv("MAKE") != "") {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22
test:
3-
@$(R_HOME)/bin/Rscript --vanilla -e "cat(cmdstanr:::get_cmdstan_flags('STANCFLAGS'))"
3+
@"$(R_HOME)/bin/Rscript" --vanilla -e "cat(cmdstanr:::get_cmdstan_flags('STANCFLAGS'))"

0 commit comments

Comments
 (0)