File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -353,9 +353,10 @@ CmdStanModel <- R6::R6Class(
353
353
info <- if (cli_info_success ) parse_exe_info_string(ret $ stdout ) else list ()
354
354
cpp_options <- exe_info_style_cpp_options(private $ precompile_cpp_options_ )
355
355
compiled_with_cpp_options <- ! is.null(private $ cmdstan_version_ )
356
- if (! cli_info_success ) warning(
357
- ' Retrieving exe_file info failed. ' ,
358
- ' This may be due to running a model that was compiled with pre-2.26.1 cmdstan.'
356
+ if (! cli_info_success ) warning(
357
+ " Retrieving exe_file info failed. " ,
358
+ " This may be due to running a model that was compiled " ,
359
+ " with pre-2.26.1 cmdstan."
359
360
)
360
361
private $ exe_info_ <- if (compiled_with_cpp_options ) {
361
362
# recompile has occurred since the CmdStanModel was created
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ test_that("parse_exe_info_string works", {
21
21
)
22
22
})
23
23
24
- test_that(" validate_precompile_cpp_options works" , {
24
+ test_that(" validate_cpp_options works" , {
25
25
expect_equal_ignore_order(
26
- validate_precompile_cpp_options (list (
26
+ validate_cpp_options (list (
27
27
Stan_Threads = TRUE ,
28
28
STAN_OPENCL = NULL ,
29
29
aBc = FALSE
@@ -34,7 +34,7 @@ test_that("validate_precompile_cpp_options works", {
34
34
abc = FALSE
35
35
)
36
36
)
37
- expect_warning(validate_precompile_cpp_options (list (STAN_OPENCL = FALSE )))
37
+ expect_warning(validate_cpp_options (list (STAN_OPENCL = FALSE )))
38
38
})
39
39
40
40
You can’t perform that action at this time.
0 commit comments