Skip to content

Commit 9708d2a

Browse files
committed
debug
1 parent e885046 commit 9708d2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/model.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@ CmdStanModel <- R6::R6Class(
217217
private$include_paths_ <- args$include_paths
218218
}
219219
if (!is.null(exe_file)) {
220-
ext <- if (os_is_windows()) ".exe" else ""
221220
if (is.null(stan_file)) {
222-
checkmate::assert_file_exists(exe_file, access = "r", extension = ext)
221+
print(exe_file)
222+
checkmate::assert_file_exists(exe_file, access = "r", extension = cmdstan_ext())
223223
}
224224
private$exe_file_ <- absolute_path(exe_file)
225225
if (is.null(stan_file)) {

0 commit comments

Comments
 (0)