Skip to content

Commit bd02b57

Browse files
authored
Update install.R
Relates to #649 Consistency as some were `cmdstanr::check_cmdstan_toolchain(fix = TRUE)` while others were just `check_cmdstan_toolchain(fix = TRUE)`.
1 parent c39aeb4 commit bd02b57

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

R/install.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ check_rtools4x_windows_toolchain <- function(fix = FALSE, quiet = FALSE) {
527527
if (!fix) {
528528
stop(
529529
"\n", rtools_version, " installation found but the toolchain was not installed.",
530-
"\nRun check_cmdstan_toolchain(fix = TRUE) to fix the issue.",
530+
"\nRun cmdstanr::check_cmdstan_toolchain(fix = TRUE) to fix the issue.",
531531
call. = FALSE
532532
)
533533
} else {
@@ -615,13 +615,13 @@ check_unix_make <- function() {
615615
"The 'make' tool was not found. ",
616616
"Please install the command line tools for Mac with 'xcode-select --install' ",
617617
"or install Xcode from the app store. ",
618-
"Then restart R and run check_cmdstan_toolchain().",
618+
"Then restart R and run cmdstanr::check_cmdstan_toolchain().",
619619
call. = FALSE
620620
)
621621
} else {
622622
stop(
623623
"The 'make' tool was not found. ",
624-
"Please install 'make', restart R, and then run check_cmdstan_toolchain().",
624+
"Please install 'make', restart R, and then run cmdstanr::check_cmdstan_toolchain().",
625625
call. = FALSE
626626
)
627627
}
@@ -638,14 +638,14 @@ check_unix_cpp_compiler <- function() {
638638
"A suitable C++ compiler was not found. ",
639639
"Please install the command line tools for Mac with 'xcode-select --install' ",
640640
"or install Xcode from the app store. ",
641-
"Then restart R and run check_cmdstan_toolchain().",
641+
"Then restart R and run cmdstanr::check_cmdstan_toolchain().",
642642
call. = FALSE
643643
)
644644
} else {
645645
stop(
646646
"A C++ compiler was not found. ",
647647
"Please install the 'clang++' or 'g++' compiler, restart R, ",
648-
"and run check_cmdstan_toolchain().",
648+
"and run cmdstanr::check_cmdstan_toolchain().",
649649
call. = FALSE
650650
)
651651
}

0 commit comments

Comments
 (0)