@@ -56,14 +56,14 @@ mod$print()
5656mod $ stan_file()
5757```
5858
59- [1] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 .stan"
59+ [1] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f .stan"
6060
6161``` r
6262
6363mod $ exe_file()
6464```
6565
66- [1] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 "
66+ [1] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f "
6767
6868Subsequently, if you create a ` CmdStanModel ` object from the same Stan
6969file then compilation will be skipped (assuming the file hasn’t
@@ -113,7 +113,7 @@ mod$compile()
113113mod $ exe_file()
114114```
115115
116- [1] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 "
116+ [1] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f "
117117
118118### Pedantic check
119119
@@ -178,11 +178,11 @@ compilation approach described above).
178178
179179``` r
180180mod_pedantic <- cmdstan_model(stan_file_pedantic , pedantic = TRUE )
181- Warning in ' /tmp/RtmpAb6kZH /model-42963a627661 .stan' , line 8 , column 2 to column 14 :
181+ Warning in ' /tmp/RtmpXKW0PL /model-39b27adbd5de .stan' , line 8 , column 2 to column 14 :
182182 The parameter lambda has no priors. This means either no prior is
183183 provided , or the prior(s ) depend on data variables. In the later case ,
184184 this may be a false positive.
185- Warning in ' /tmp/RtmpAb6kZH /model-42963a627661 .stan' , line 11 , column 14 to column 20 :
185+ Warning in ' /tmp/RtmpXKW0PL /model-39b27adbd5de .stan' , line 11 , column 14 to column 20 :
186186 A poisson distribution is given parameter lambda as a rate parameter
187187 (argument 1 ), but lambda was not constrained to be strictly positive.
188188```
@@ -192,11 +192,11 @@ argument to the `$check_syntax()` method.
192192
193193``` r
194194mod_pedantic $ check_syntax(pedantic = TRUE )
195- Warning in ' /tmp/RtmpAb6kZH /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 8 , column 2 to column 14 :
195+ Warning in ' /tmp/RtmpXKW0PL /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 8 , column 2 to column 14 :
196196 The parameter lambda has no priors. This means either no prior is
197197 provided , or the prior(s ) depend on data variables. In the later case ,
198198 this may be a false positive.
199- Warning in ' /tmp/RtmpAb6kZH /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 11 , column 14 to column 20 :
199+ Warning in ' /tmp/RtmpXKW0PL /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 11 , column 14 to column 20 :
200200 A poisson distribution is given parameter lambda as a rate parameter
201201 (argument 1 ), but lambda was not constrained to be strictly positive.
202202Stan program is syntactically correct
@@ -214,11 +214,11 @@ rm(mod_pedantic)
214214
215215mod_pedantic <- cmdstan_model(stan_file_pedantic , compile = FALSE )
216216mod_pedantic $ check_syntax(pedantic = TRUE )
217- Warning in ' /tmp/RtmpAb6kZH /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 8 , column 2 to column 14 :
217+ Warning in ' /tmp/RtmpXKW0PL /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 8 , column 2 to column 14 :
218218 The parameter lambda has no priors. This means either no prior is
219219 provided , or the prior(s ) depend on data variables. In the later case ,
220220 this may be a false positive.
221- Warning in ' /tmp/RtmpAb6kZH /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 11 , column 14 to column 20 :
221+ Warning in ' /tmp/RtmpXKW0PL /model_287cd4f50e093cb87805d29fd774bdf8.stan' , line 11 , column 14 to column 20 :
222222 A poisson distribution is given parameter lambda as a rate parameter
223223 (argument 1 ), but lambda was not constrained to be strictly positive.
224224Stan program is syntactically correct
@@ -454,10 +454,10 @@ CmdStan to CSV files in a temporary directory.
454454fit $ output_files()
455455```
456456
457- [1] "/tmp/RtmpAb6kZH /bernoulli-429644647f35-202608041835 -1-5bedce .csv"
458- [2] "/tmp/RtmpAb6kZH /bernoulli-429644647f35-202608041835 -2-5bedce .csv"
459- [3] "/tmp/RtmpAb6kZH /bernoulli-429644647f35-202608041835 -3-5bedce .csv"
460- [4] "/tmp/RtmpAb6kZH /bernoulli-429644647f35-202608041835 -4-5bedce .csv"
457+ [1] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f-202608041945 -1-5be4ea .csv"
458+ [2] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f-202608041945 -2-5be4ea .csv"
459+ [3] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f-202608041945 -3-5be4ea .csv"
460+ [4] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f-202608041945 -4-5be4ea .csv"
461461
462462These files will be lost if you end your R session or if you remove the
463463` fit ` object and force (or wait for) garbage collection.
477477```
478478
479479 used (Mb) gc trigger (Mb) max used (Mb)
480- Ncells 1274088 68.1 2632954 140.7 1654030 88.4
481- Vcells 2194387 16.8 8388608 64.0 4907092 37.5
480+ Ncells 1274049 68.1 2632914 140.7 1653887 88.4
481+ Vcells 2194287 16.8 8388608 64.0 4906584 37.5
482482
483483``` r
484484
@@ -682,7 +682,7 @@ str(csv_contents)
682682 ..$ stan_version_major : num 2
683683 ..$ stan_version_minor : num 39
684684 ..$ stan_version_patch : num 0
685- ..$ start_datetime : chr "2026-08-04 18:35:38 UTC"
685+ ..$ start_datetime : chr "2026-08-04 19:45:44 UTC"
686686 ..$ method : chr "sample"
687687 ..$ save_warmup : int 0
688688 ..$ thin : num 1
@@ -703,13 +703,13 @@ str(csv_contents)
703703 ..$ seed : num 31749990
704704 ..$ refresh : num 100
705705 ..$ sig_figs : num 8
706- ..$ profile_file : chr "/tmp/RtmpAb6kZH /bernoulli-429644647f35 -profile-202608041835 -1-2c799e .csv"
706+ ..$ profile_file : chr "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -profile-202608041945 -1-2c70ba .csv"
707707 ..$ save_cmdstan_config : int 0
708708 ..$ stanc_version : chr "stanc3 v2.39.0"
709709 ..$ sampler_diagnostics : chr [1:6] "accept_stat__" "stepsize__" "treedepth__" "n_leapfrog__" ...
710710 ..$ variables : chr [1:2] "lp__" "theta"
711711 ..$ step_size_adaptation: num [1:4] 0.895 0.892 0.942 0.929
712- ..$ model_name : chr "bernoulli_429644647f35_model "
712+ ..$ model_name : chr "bernoulli_39b2f2f1f7f_model "
713713 ..$ adapt_engaged : int 1
714714 ..$ adapt_delta : num 0.8
715715 ..$ max_treedepth : num 10
@@ -720,8 +720,8 @@ str(csv_contents)
720720 ..$ time :'data.frame': 4 obs. of 4 variables:
721721 .. ..$ chain_id: num [1:4] 1 2 3 4
722722 .. ..$ warmup : num [1:4] 0.002 0.002 0.002 0.002
723- .. ..$ sampling: num [1:4] 0.005 0.005 0.004 0.004
724- .. ..$ total : num [1:4] 0.007 0.007 0.006 0.006
723+ .. ..$ sampling: num [1:4] 0.004 0.005 0.005 0.005
724+ .. ..$ total : num [1:4] 0.006 0.007 0.007 0.007
725725 ..$ stan_variable_sizes :List of 2
726726 .. ..$ lp__ : num 1
727727 .. ..$ theta: num 1
@@ -732,8 +732,8 @@ str(csv_contents)
732732 ..$ chains:'data.frame': 4 obs. of 4 variables:
733733 .. ..$ chain_id: num [1:4] 1 2 3 4
734734 .. ..$ warmup : num [1:4] 0.002 0.002 0.002 0.002
735- .. ..$ sampling: num [1:4] 0.005 0.005 0.004 0.004
736- .. ..$ total : num [1:4] 0.007 0.007 0.006 0.006
735+ .. ..$ sampling: num [1:4] 0.004 0.005 0.005 0.005
736+ .. ..$ total : num [1:4] 0.006 0.007 0.007 0.007
737737 $ inv_metric :List of 4
738738 ..$ 1: num 0.588
739739 ..$ 2: num 0.545
@@ -793,10 +793,10 @@ fit <- mod$sample(data = data_list, save_latent_dynamics = TRUE)
793793fit $ latent_dynamics_files()
794794```
795795
796- [1] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 -diagnostic-202608041835 -1-057c23 .csv"
797- [2] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 -diagnostic-202608041835 -2-057c23 .csv"
798- [3] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 -diagnostic-202608041835 -3-057c23 .csv"
799- [4] "/tmp/RtmpAb6kZH /bernoulli-429644647f35 -diagnostic-202608041835 -4-057c23 .csv"
796+ [1] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -diagnostic-202608041945 -1-05733f .csv"
797+ [2] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -diagnostic-202608041945 -2-05733f .csv"
798+ [3] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -diagnostic-202608041945 -3-05733f .csv"
799+ [4] "/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -diagnostic-202608041945 -4-05733f .csv"
800800
801801``` r
802802
@@ -889,18 +889,18 @@ options(cmdstanr_verbose = TRUE)
889889mod <- cmdstan_model(stan_file , force_recompile = TRUE )
890890```
891891
892- Running make /tmp/RtmpAb6kZH /model-42967c718eb0 \
893- 'STANCFLAGS += --name=bernoulli-429644647f35_model '
892+ Running make /tmp/RtmpXKW0PL /model-39b21f39e7bf \
893+ 'STANCFLAGS += --name=bernoulli-39b2f2f1f7f_model '
894894
895895 --- Translating Stan model to C++ code ---
896- bin/stanc --name=bernoulli-429644647f35_model --o=/tmp/RtmpAb6kZH /model-42967c718eb0 .hpp /tmp/RtmpAb6kZH /model-42967c718eb0 .stan
896+ bin/stanc --name=bernoulli-39b2f2f1f7f_model --o=/tmp/RtmpXKW0PL /model-39b21f39e7bf .hpp /tmp/RtmpXKW0PL /model-39b21f39e7bf .stan
897897
898898 --- Compiling C++ code ---
899- g++ -Wno-deprecated-declarations -std=c++17 -pthread -D_REENTRANT -Wno-sign-compare -Wno-ignored-attributes -Wno-class-memaccess -I stan/lib/stan_math/lib/tbb_2020.3/include -O3 -I src -I stan/src -I stan/lib/rapidjson_1.1.0/ -I lib/CLI11-1.9.1/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.4.0 -I stan/lib/stan_math/lib/boost_1.87.0 -I stan/lib/stan_math/lib/sundials_6.1.1/include -I stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -DBOOST_DISABLE_ASSERTS -c -Wno-ignored-attributes -x c++ -o /tmp/RtmpAb6kZH /model-42967c718eb0 .o /tmp/RtmpAb6kZH /model-42967c718eb0 .hpp
899+ g++ -Wno-deprecated-declarations -std=c++17 -pthread -D_REENTRANT -Wno-sign-compare -Wno-ignored-attributes -Wno-class-memaccess -I stan/lib/stan_math/lib/tbb_2020.3/include -O3 -I src -I stan/src -I stan/lib/rapidjson_1.1.0/ -I lib/CLI11-1.9.1/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.4.0 -I stan/lib/stan_math/lib/boost_1.87.0 -I stan/lib/stan_math/lib/sundials_6.1.1/include -I stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -DBOOST_DISABLE_ASSERTS -c -Wno-ignored-attributes -x c++ -o /tmp/RtmpXKW0PL /model-39b21f39e7bf .o /tmp/RtmpXKW0PL /model-39b21f39e7bf .hpp
900900
901901 --- Linking model ---
902- g++ -Wno-deprecated-declarations -std=c++17 -pthread -D_REENTRANT -Wno-sign-compare -Wno-ignored-attributes -Wno-class-memaccess -I stan/lib/stan_math/lib/tbb_2020.3/include -O3 -I src -I stan/src -I stan/lib/rapidjson_1.1.0/ -I lib/CLI11-1.9.1/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.4.0 -I stan/lib/stan_math/lib/boost_1.87.0 -I stan/lib/stan_math/lib/sundials_6.1.1/include -I stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -DBOOST_DISABLE_ASSERTS -Wl,-L,"/home/runner/.cmdstan/cmdstan-2.39.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/home/runner/.cmdstan/cmdstan-2.39.0/stan/lib/stan_math/lib/tbb" /tmp/RtmpAb6kZH/model-42967c718eb0.o src/cmdstan/main.o -ltbb stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_idas.a stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_kinsol.a stan/lib/stan_math/lib/tbb/libtbb.so.2 -o /tmp/RtmpAb6kZH/model-42967c718eb0
903- rm /tmp/RtmpAb6kZH /model-42967c718eb0.hpp /tmp/RtmpAb6kZH /model-42967c718eb0.o
902+ g++ -Wno-deprecated-declarations -std=c++17 -pthread -D_REENTRANT -Wno-sign-compare -Wno-ignored-attributes -Wno-class-memaccess -I stan/lib/stan_math/lib/tbb_2020.3/include -O3 -I src -I stan/src -I stan/lib/rapidjson_1.1.0/ -I lib/CLI11-1.9.1/ -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.4.0 -I stan/lib/stan_math/lib/boost_1.87.0 -I stan/lib/stan_math/lib/sundials_6.1.1/include -I stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -DBOOST_DISABLE_ASSERTS -Wl,-L,"/home/runner/.cmdstan/cmdstan-2.39.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/home/runner/.cmdstan/cmdstan-2.39.0/stan/lib/stan_math/lib/tbb" /tmp/RtmpXKW0PL/model-39b21f39e7bf.o src/cmdstan/main.o -ltbb stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_idas.a stan/lib/stan_math/lib/sundials_6.1.1/lib/libsundials_kinsol.a stan/lib/stan_math/lib/tbb/libtbb.so.2 -o /tmp/RtmpXKW0PL/model-39b21f39e7bf
903+ rm /tmp/RtmpXKW0PL /model-39b21f39e7bf.o /tmp/RtmpXKW0PL /model-39b21f39e7bf.hpp
904904 stan_version_major = 2
905905 stan_version_minor = 39
906906 stan_version_patch = 0
@@ -921,10 +921,10 @@ fit <- mod$sample(
921921
922922 Running MCMC with 1 chain...
923923
924- Running ./bernoulli-429644647f35 'id=1' random 'seed=1376020223' data \
925- 'file=/tmp/RtmpAb6kZH /standata-42961a208320 .json' output \
926- 'file=/tmp/RtmpAb6kZH /bernoulli-429644647f35-202608041835 -1-1e1df0 .csv' \
927- 'profile_file=/tmp/RtmpAb6kZH /bernoulli-429644647f35 -profile-202608041835 -1-3dd5cb .csv' \
924+ Running ./bernoulli-39b2f2f1f7f 'id=1' random 'seed=1376020223' data \
925+ 'file=/tmp/RtmpXKW0PL /standata-39b27e47cbd2 .json' output \
926+ 'file=/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f-202608041945 -1-1e150c .csv' \
927+ 'profile_file=/tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -profile-202608041945 -1-3dcce7 .csv' \
928928 'save_cmdstan_config=0' 'method=sample' 'num_samples=100' 'num_warmup=100' \
929929 'save_warmup=0' 'algorithm=hmc' 'engine=nuts' adapt 'engaged=1' \
930930 'save_metric=0'
@@ -956,16 +956,16 @@ fit <- mod$sample(
956956 Chain 1 num_chains = 1 (Default)
957957 Chain 1 id = 1 (Default)
958958 Chain 1 data
959- Chain 1 file = /tmp/RtmpAb6kZH /standata-42961a208320 .json
959+ Chain 1 file = /tmp/RtmpXKW0PL /standata-39b27e47cbd2 .json
960960 Chain 1 init = 2 (Default)
961961 Chain 1 random
962962 Chain 1 seed = 1376020223
963963 Chain 1 output
964- Chain 1 file = /tmp/RtmpAb6kZH /bernoulli-429644647f35-202608041835 -1-1e1df0 .csv
964+ Chain 1 file = /tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f-202608041945 -1-1e150c .csv
965965 Chain 1 diagnostic_file = (Default)
966966 Chain 1 refresh = 100 (Default)
967967 Chain 1 sig_figs = 8 (Default)
968- Chain 1 profile_file = /tmp/RtmpAb6kZH /bernoulli-429644647f35 -profile-202608041835 -1-3dd5cb .csv
968+ Chain 1 profile_file = /tmp/RtmpXKW0PL /bernoulli-39b2f2f1f7f -profile-202608041945 -1-3dcce7 .csv
969969 Chain 1 save_cmdstan_config = false (Default)
970970 Chain 1 num_threads = 1 (Default)
971971 Chain 1 Gradient evaluation took 3e-06 seconds
0 commit comments