@@ -164,7 +164,7 @@ compilation approach described above).
164164
165165``` r
166166mod_pedantic <- cmdstan_model(stan_file_pedantic , pedantic = TRUE )
167- Warning in ' /tmp/RtmpZElM6b /model-37a665cbe249 .stan' , line 11 , column 14 : A
167+ Warning in ' /tmp/RtmpmXj7SZ /model-37a7e9ee9b8 .stan' , line 11 , column 14 : A
168168 poisson distribution is given parameter lambda as a rate parameter
169169 (argument 1 ), but lambda was not constrained to be strictly positive.
170170Warning : The parameter lambda has no priors. This means either no prior is
@@ -177,7 +177,7 @@ argument to the `$check_syntax()` method.
177177
178178``` r
179179mod_pedantic $ check_syntax(pedantic = TRUE )
180- Warning in ' /tmp/RtmpZElM6b /model_febb1e69c7387a0e64cf13583e078104.stan' , line 11 , column 14 : A
180+ Warning in ' /tmp/RtmpmXj7SZ /model_febb1e69c7387a0e64cf13583e078104.stan' , line 11 , column 14 : A
181181 poisson distribution is given parameter lambda as a rate parameter
182182 (argument 1 ), but lambda was not constrained to be strictly positive.
183183Warning : The parameter lambda has no priors. This means either no prior is
@@ -198,7 +198,7 @@ rm(mod_pedantic)
198198
199199mod_pedantic <- cmdstan_model(stan_file_pedantic , compile = FALSE )
200200mod_pedantic $ check_syntax(pedantic = TRUE )
201- Warning in ' /tmp/RtmpZElM6b /model_febb1e69c7387a0e64cf13583e078104.stan' , line 11 , column 14 : A
201+ Warning in ' /tmp/RtmpmXj7SZ /model_febb1e69c7387a0e64cf13583e078104.stan' , line 11 , column 14 : A
202202 poisson distribution is given parameter lambda as a rate parameter
203203 (argument 1 ), but lambda was not constrained to be strictly positive.
204204Warning : The parameter lambda has no priors. This means either no prior is
@@ -427,10 +427,10 @@ CmdStan to CSV files in a temporary directory.
427427fit $ output_files()
428428```
429429
430- [1] "/tmp/RtmpZElM6b /bernoulli-202512012341 -1-5be2de .csv"
431- [2] "/tmp/RtmpZElM6b /bernoulli-202512012341 -2-5be2de .csv"
432- [3] "/tmp/RtmpZElM6b /bernoulli-202512012341 -3-5be2de .csv"
433- [4] "/tmp/RtmpZElM6b /bernoulli-202512012341 -4-5be2de .csv"
430+ [1] "/tmp/RtmpmXj7SZ /bernoulli-202512031825 -1-5be2df .csv"
431+ [2] "/tmp/RtmpmXj7SZ /bernoulli-202512031825 -2-5be2df .csv"
432+ [3] "/tmp/RtmpmXj7SZ /bernoulli-202512031825 -3-5be2df .csv"
433+ [4] "/tmp/RtmpmXj7SZ /bernoulli-202512031825 -4-5be2df .csv"
434434
435435These files will be lost if you end your R session or if you remove the
436436` fit ` object and force (or wait for) garbage collection.
448448```
449449
450450 used (Mb) gc trigger (Mb) max used (Mb)
451- Ncells 1217991 65.1 2504497 133.8 1589948 85.0
452- Vcells 2123443 16.3 8388608 64.0 4907298 37.5
451+ Ncells 1217980 65.1 2504465 133.8 1589948 85.0
452+ Vcells 2123431 16.3 8388608 64.0 4907311 37.5
453453
454454``` r
455455file.exists(files )
@@ -645,7 +645,7 @@ str(csv_contents)
645645 ..$ stan_version_major : num 2
646646 ..$ stan_version_minor : num 37
647647 ..$ stan_version_patch : num 0
648- ..$ start_datetime : chr "2025-12-01 23:41:13 UTC"
648+ ..$ start_datetime : chr "2025-12-03 18:25:23 UTC"
649649 ..$ method : chr "sample"
650650 ..$ save_warmup : int 0
651651 ..$ thin : num 1
@@ -666,7 +666,7 @@ str(csv_contents)
666666 ..$ seed : num 31749990
667667 ..$ refresh : num 100
668668 ..$ sig_figs : num 8
669- ..$ profile_file : chr "/tmp/RtmpZElM6b /bernoulli-profile-202512012341 -1-2c6eae .csv"
669+ ..$ profile_file : chr "/tmp/RtmpmXj7SZ /bernoulli-profile-202512031825 -1-2c6eaf .csv"
670670 ..$ save_cmdstan_config : int 0
671671 ..$ stanc_version : chr "stanc3 v2.37.0"
672672 ..$ sampler_diagnostics : chr [1:6] "accept_stat__" "stepsize__" "treedepth__" "n_leapfrog__" ...
@@ -682,9 +682,9 @@ str(csv_contents)
682682 ..$ threads_per_chain : num 1
683683 ..$ time :'data.frame': 4 obs. of 4 variables:
684684 .. ..$ chain_id: num [1:4] 1 2 3 4
685- .. ..$ warmup : num [1:4] 0.002 0.003 0.002 0.002
685+ .. ..$ warmup : num [1:4] 0.002 0.002 0.002 0.002
686686 .. ..$ sampling: num [1:4] 0.005 0.005 0.005 0.005
687- .. ..$ total : num [1:4] 0.007 0.008 0.007 0.007
687+ .. ..$ total : num [1:4] 0.007 0.007 0.007 0.007
688688 ..$ stan_variable_sizes :List of 2
689689 .. ..$ lp__ : num 1
690690 .. ..$ theta: num 1
@@ -694,9 +694,9 @@ str(csv_contents)
694694 ..$ total : int NA
695695 ..$ chains:'data.frame': 4 obs. of 4 variables:
696696 .. ..$ chain_id: num [1:4] 1 2 3 4
697- .. ..$ warmup : num [1:4] 0.002 0.003 0.002 0.002
697+ .. ..$ warmup : num [1:4] 0.002 0.002 0.002 0.002
698698 .. ..$ sampling: num [1:4] 0.005 0.005 0.005 0.005
699- .. ..$ total : num [1:4] 0.007 0.008 0.007 0.007
699+ .. ..$ total : num [1:4] 0.007 0.007 0.007 0.007
700700 $ inv_metric :List of 4
701701 ..$ 1: num 0.588
702702 ..$ 2: num 0.545
@@ -753,10 +753,10 @@ fit <- mod$sample(data = data_list, save_latent_dynamics = TRUE)
753753fit $ latent_dynamics_files()
754754```
755755
756- [1] "/tmp/RtmpZElM6b /bernoulli-diagnostic-202512012341 -1-057133 .csv"
757- [2] "/tmp/RtmpZElM6b /bernoulli-diagnostic-202512012341 -2-057133 .csv"
758- [3] "/tmp/RtmpZElM6b /bernoulli-diagnostic-202512012341 -3-057133 .csv"
759- [4] "/tmp/RtmpZElM6b /bernoulli-diagnostic-202512012341 -4-057133 .csv"
756+ [1] "/tmp/RtmpmXj7SZ /bernoulli-diagnostic-202512031825 -1-057134 .csv"
757+ [2] "/tmp/RtmpmXj7SZ /bernoulli-diagnostic-202512031825 -2-057134 .csv"
758+ [3] "/tmp/RtmpmXj7SZ /bernoulli-diagnostic-202512031825 -3-057134 .csv"
759+ [4] "/tmp/RtmpmXj7SZ /bernoulli-diagnostic-202512031825 -4-057134 .csv"
760760
761761``` r
762762# read one of the files in
@@ -842,18 +842,18 @@ options("cmdstanr_verbose"=TRUE)
842842mod <- cmdstan_model(stan_file , force_recompile = TRUE )
843843```
844844
845- Running make /tmp/RtmpZElM6b /model-37a6f69b8f4 \
845+ Running make /tmp/RtmpmXj7SZ /model-37a71ff8c581 \
846846 "STANCFLAGS += --name='bernoulli_model'"
847847
848848 --- Translating Stan model to C++ code ---
849- bin/stanc --name='bernoulli_model' --o=/tmp/RtmpZElM6b /model-37a6f69b8f4 .hpp /tmp/RtmpZElM6b /model-37a6f69b8f4 .stan
849+ bin/stanc --name='bernoulli_model' --o=/tmp/RtmpmXj7SZ /model-37a71ff8c581 .hpp /tmp/RtmpmXj7SZ /model-37a71ff8c581 .stan
850850
851851 --- Compiling C++ code ---
852- 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/RtmpZElM6b /model-37a6f69b8f4 .o /tmp/RtmpZElM6b /model-37a6f69b8f4 .hpp
852+ 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/RtmpmXj7SZ /model-37a71ff8c581 .o /tmp/RtmpmXj7SZ /model-37a71ff8c581 .hpp
853853
854854 --- Linking model ---
855- 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.37.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/home/runner/.cmdstan/cmdstan-2.37.0/stan/lib/stan_math/lib/tbb" /tmp/RtmpZElM6b/model-37a6f69b8f4.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/RtmpZElM6b/model-37a6f69b8f4
856- rm /tmp/RtmpZElM6b /model-37a6f69b8f4 .hpp /tmp/RtmpZElM6b /model-37a6f69b8f4 .o
855+ 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.37.0/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/home/runner/.cmdstan/cmdstan-2.37.0/stan/lib/stan_math/lib/tbb" /tmp/RtmpmXj7SZ/model-37a71ff8c581.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/RtmpmXj7SZ/model-37a71ff8c581
856+ rm /tmp/RtmpmXj7SZ /model-37a71ff8c581 .hpp /tmp/RtmpmXj7SZ /model-37a71ff8c581 .o
857857 stan_version_major = 2
858858 stan_version_minor = 37
859859 stan_version_patch = 0
@@ -875,9 +875,9 @@ fit <- mod$sample(
875875 Running MCMC with 1 chain...
876876
877877 Running ./bernoulli 'id=1' random 'seed=1376020223' data \
878- 'file=/tmp/RtmpZElM6b /standata-37a617cc10ed .json' output \
879- 'file=/tmp/RtmpZElM6b /bernoulli-202512012341 -1-1e1300 .csv' \
880- 'profile_file=/tmp/RtmpZElM6b /bernoulli-profile-202512012341 -1-3dcadb .csv' \
878+ 'file=/tmp/RtmpmXj7SZ /standata-37a7324592f9 .json' output \
879+ 'file=/tmp/RtmpmXj7SZ /bernoulli-202512031825 -1-1e1301 .csv' \
880+ 'profile_file=/tmp/RtmpmXj7SZ /bernoulli-profile-202512031825 -1-3dcadc .csv' \
881881 'method=sample' 'num_samples=100' 'num_warmup=100' 'save_warmup=0' \
882882 'algorithm=hmc' 'engine=nuts' adapt 'engaged=1'
883883 Chain 1 method = sample (Default)
@@ -908,16 +908,16 @@ fit <- mod$sample(
908908 Chain 1 num_chains = 1 (Default)
909909 Chain 1 id = 1 (Default)
910910 Chain 1 data
911- Chain 1 file = /tmp/RtmpZElM6b /standata-37a617cc10ed .json
911+ Chain 1 file = /tmp/RtmpmXj7SZ /standata-37a7324592f9 .json
912912 Chain 1 init = 2 (Default)
913913 Chain 1 random
914914 Chain 1 seed = 1376020223
915915 Chain 1 output
916- Chain 1 file = /tmp/RtmpZElM6b /bernoulli-202512012341 -1-1e1300 .csv
916+ Chain 1 file = /tmp/RtmpmXj7SZ /bernoulli-202512031825 -1-1e1301 .csv
917917 Chain 1 diagnostic_file = (Default)
918918 Chain 1 refresh = 100 (Default)
919919 Chain 1 sig_figs = 8 (Default)
920- Chain 1 profile_file = /tmp/RtmpZElM6b /bernoulli-profile-202512012341 -1-3dcadb .csv
920+ Chain 1 profile_file = /tmp/RtmpmXj7SZ /bernoulli-profile-202512031825 -1-3dcadc .csv
921921 Chain 1 save_cmdstan_config = false (Default)
922922 Chain 1 num_threads = 1 (Default)
923923 Chain 1 Gradient evaluation took 2e-06 seconds
0 commit comments