We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9c12be + 72619e9 commit c39aeb4Copy full SHA for c39aeb4
R/path.R
@@ -145,6 +145,7 @@ cmdstan_default_path <- function(old = FALSE, dir = NULL) {
145
cmdstan_installs <- list.dirs(path = installs_path, recursive = FALSE, full.names = FALSE)
146
}
147
if (length(cmdstan_installs) > 0) {
148
+ cmdstan_installs <- grep("^cmdstan-", cmdstan_installs, value = TRUE)
149
latest_cmdstan <- sort(cmdstan_installs, decreasing = TRUE)[1]
150
if (is_release_candidate(latest_cmdstan)) {
151
non_rc_path <- strsplit(latest_cmdstan, "-rc")[[1]][1]
0 commit comments