The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

CRAN Package Check Results for Package BayesPostEst

Last updated on 2026-09-26 17:52:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 8.51 339.60 348.11 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.0 6.78 320.30 327.08 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.0 7.00 187.99 194.99 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.0 228.44 ERROR
r-devel-windows-x86_64 0.4.0 12.00 268.00 280.00 ERROR
r-patched-linux-x86_64 0.4.0 8.80 354.12 362.92 ERROR
r-release-linux-x86_64 0.4.0 9.39 351.22 360.61 ERROR
r-release-macos-arm64 0.4.0 2.00 134.00 136.00 OK
r-release-macos-x86_64 0.4.0 6.00 828.00 834.00 OK
r-release-windows-x86_64 0.4.0 11.00 252.00 263.00 ERROR
r-oldrel-macos-arm64 0.4.0 OK
r-oldrel-macos-x86_64 0.4.0 5.00 631.00 636.00 OK
r-oldrel-windows-x86_64 0.4.0 16.00 310.00 326.00 ERROR

Check Details

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [177s/212s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.2 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... Start sampling SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.7e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.37 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.284 seconds (Warm-up) Chain 1: 0.125 seconds (Sampling) Chain 1: 0.409 seconds (Total) Chain 1: SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 2.7e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.27 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.122 seconds (Warm-up) Chain 2: 0.148 seconds (Sampling) Chain 2: 0.27 seconds (Total) Chain 2: module glm loaded Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3509 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3015 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model ## ## Markov Chain Monte Carlo Package (MCMCpack) ## Copyright (C) 2003-2026 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park ## ## Support provided by the U.S. National Science Foundation ## (Grants SES-0350646 and SES-0350613) ## Attaching package: 'MCMCpack' The following objects are masked from 'package:brms': ddirichlet, rdirichlet Loading required package: StanHeaders rstan version 2.32.7 (Stan version 2.39.0) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Attaching package: 'rstan' The following object is masked from 'package:runjags': extract The following object is masked from 'package:R2jags': traceplot The following object is masked from 'package:coda': traceplot Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `stanc()`: ! 0 Syntax error in 'string', line 4, column 33 to column 34, parsing error: ------------------------------------------------- 2: data { 3: int<lower=0> N; 4: int<lower=0,upper=1> volunteer[N]; ^ 5: vector[N] female; 6: vector[N] neuroticism; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[N] int<lower=0, upper=1> volunteer; Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─rstan::stan(...) 20. │ └─rstan::stan_model(...) 21. │ └─rstan::stanc(...) 22. │ └─base::stop(paste(model_cppcode$errors, collapse = "\n")) 23. └─base::.handleSimpleError(...) 24. └─testthat (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [205s/246s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.2 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... Start sampling SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.3e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.33 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.138 seconds (Warm-up) Chain 1: 0.137 seconds (Sampling) Chain 1: 0.275 seconds (Total) Chain 1: SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 2e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.2 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.119 seconds (Warm-up) Chain 2: 0.154 seconds (Sampling) Chain 2: 0.273 seconds (Total) Chain 2: module glm loaded Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3509 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3015 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model ## ## Markov Chain Monte Carlo Package (MCMCpack) ## Copyright (C) 2003-2026 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park ## ## Support provided by the U.S. National Science Foundation ## (Grants SES-0350646 and SES-0350613) ## Attaching package: 'MCMCpack' The following objects are masked from 'package:brms': ddirichlet, rdirichlet Loading required package: StanHeaders rstan version 2.32.7 (Stan version 2.39.0) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Attaching package: 'rstan' The following object is masked from 'package:runjags': extract The following object is masked from 'package:R2jags': traceplot The following object is masked from 'package:coda': traceplot Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `stanc()`: ! 0 Syntax error in 'string', line 4, column 33 to column 34, parsing error: ------------------------------------------------- 2: data { 3: int<lower=0> N; 4: int<lower=0,upper=1> volunteer[N]; ^ 5: vector[N] female; 6: vector[N] neuroticism; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[N] int<lower=0, upper=1> volunteer; Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─rstan::stan(...) 20. │ └─rstan::stan_model(...) 21. │ └─rstan::stanc(...) 22. │ └─base::stop(paste(model_cppcode$errors, collapse = "\n")) 23. └─base::.handleSimpleError(...) 24. └─testthat (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘HDInterval’ ‘carData’ ‘rjags’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [70s/174s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.2 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... Start sampling SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 2.8e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.28 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.283 seconds (Warm-up) Chain 1: 0.292 seconds (Sampling) Chain 1: 0.575 seconds (Total) Chain 1: SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 2.3e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.23 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.28 seconds (Warm-up) Chain 2: 0.356 seconds (Sampling) Chain 2: 0.636 seconds (Total) Chain 2: module glm loaded Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3509 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3015 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model ## ## Markov Chain Monte Carlo Package (MCMCpack) ## Copyright (C) 2003-2026 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park ## ## Support provided by the U.S. National Science Foundation ## (Grants SES-0350646 and SES-0350613) ## Attaching package: 'MCMCpack' The following objects are masked from 'package:brms': ddirichlet, rdirichlet Loading required package: StanHeaders rstan version 2.32.7 (Stan version 2.39.0) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Attaching package: 'rstan' The following object is masked from 'package:runjags': extract The following object is masked from 'package:R2jags': traceplot The following object is masked from 'package:coda': traceplot Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `stanc()`: ! 0 Syntax error in 'string', line 4, column 33 to column 34, parsing error: ------------------------------------------------- 2: data { 3: int<lower=0> N; 4: int<lower=0,upper=1> volunteer[N]; ^ 5: vector[N] female; 6: vector[N] neuroticism; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[N] int<lower=0, upper=1> volunteer; Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─rstan::stan(...) 20. │ └─rstan::stan_model(...) 21. │ └─rstan::stanc(...) 22. │ └─base::stop(paste(model_cppcode$errors, collapse = "\n")) 23. └─base::.handleSimpleError(...) 24. └─testthat (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [109s/114s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.2 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... Start sampling SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 2.6e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.26 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.092 seconds (Warm-up) Chain 1: 0.093 seconds (Sampling) Chain 1: 0.185 seconds (Total) Chain 1: SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 1.9e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.19 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.095 seconds (Warm-up) Chain 2: 0.106 seconds (Sampling) Chain 2: 0.201 seconds (Total) Chain 2: module glm loaded Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3509 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3015 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model ## ## Markov Chain Monte Carlo Package (MCMCpack) ## Copyright (C) 2003-2026 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park ## ## Support provided by the U.S. National Science Foundation ## (Grants SES-0350646 and SES-0350613) ## Attaching package: 'MCMCpack' The following objects are masked from 'package:brms': ddirichlet, rdirichlet Loading required package: StanHeaders rstan version 2.32.7 (Stan version 2.39.0) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Attaching package: 'rstan' The following object is masked from 'package:runjags': extract The following object is masked from 'package:R2jags': traceplot The following object is masked from 'package:coda': traceplot Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `stanc()`: ! 0 Syntax error in 'string', line 4, column 33 to column 34, parsing error: ------------------------------------------------- 2: data { 3: int<lower=0> N; 4: int<lower=0,upper=1> volunteer[N]; ^ 5: vector[N] female; 6: vector[N] neuroticism; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[N] int<lower=0, upper=1> volunteer; Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─rstan::stan(...) 20. │ └─rstan::stan_model(...) 21. │ └─rstan::stanc(...) 22. │ └─base::stop(paste(model_cppcode$errors, collapse = "\n")) 23. └─base::.handleSimpleError(...) 24. └─testthat (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running 'testthat.R' [67s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.1 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... specified C++17 make cmd is make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file4be0c613a4aa5.dll" WIN=64 TCLBIN= OBJECTS="file4be0c613a4aa5.o" make would use make[1]: Entering directory '/d/temp/2026_09_24_01_50_00_23554/RtmpwT44FO' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.7/Rcpp/include/" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmpcze2tk/RLIBS_cb606b104c58/RcppEigen/include/" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmpcze2tk/RLIBS_cb606b104c58/RcppEigen/include/unsupported" -I"D:/temp/2026_09_24_01_50_00_23554/Rtmpcze2tk/RLIBS_cb606b104c58/BH/include" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.7/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.7/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file4be0c613a4aa5.cpp -o file4be0c613a4aa5.o if test "zfile4be0c613a4aa5.o" != "z"; then \ if test -e "file4be0c613a4aa5-win.def"; then \ echo g++ -shared -s -static-libgcc -o file4be0c613a4aa5.dll file4be0c613a4aa5-win.def file4be0c613a4aa5.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file4be0c613a4aa5.dll file4be0c613a4aa5-win.def file4be0c613a4aa5.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file4be0c613a4aa5.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file4be0c613a4aa5.dll tmp.def file4be0c613a4aa5.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file4be0c613a4aa5.dll tmp.def file4be0c613a4aa5.o "D:/RCompile/CRANpkg/lib/4.7/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.7/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.7/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_24_01_50_00_23554/RtmpwT44FO' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! del = model4be0c55287ba__namespace::model4be0c55287ba_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]' 22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p; D:/RCompile/CRANpkg/lib/4.7/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here 21 | double T(dense_e_point& z) { D:/RCompile/CRANpkg/lib/4.7/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes] 654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m); | ^~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: file4be0c613a4aa5.o] Error 1 Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ ├─pkgbuild::with_build_tools(...) 36. │ │ └─pkgbuild:::withr_with_path(rtools_path(), code) 37. │ │ └─base::force(code) 38. │ └─inline::cxxfunction(...) 39. │ └─inline:::compileCode(f, code, language = language, verbose = verbose) 40. │ └─base::stop(...) 41. └─base::.handleSimpleError(...) 42. └─testthat (local) h(simpleError(msg, call)) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `sink()`: ! invalid connection Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ └─base::sink(type = "output") 36. └─base::.handleSimpleError(`<fn>`, "invalid connection", base::quote(sink(type = "output"))) 37. └─testthat (local) h(simpleError(msg, call)) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) Execution halted Flavor: r-devel-windows-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [204s/254s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.2 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... Start sampling SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 4.1e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.171 seconds (Warm-up) Chain 1: 0.123 seconds (Sampling) Chain 1: 0.294 seconds (Total) Chain 1: SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 2.6e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.26 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.122 seconds (Warm-up) Chain 2: 0.136 seconds (Sampling) Chain 2: 0.258 seconds (Total) Chain 2: module glm loaded Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3509 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3015 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model ## ## Markov Chain Monte Carlo Package (MCMCpack) ## Copyright (C) 2003-2026 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park ## ## Support provided by the U.S. National Science Foundation ## (Grants SES-0350646 and SES-0350613) ## Attaching package: 'MCMCpack' The following objects are masked from 'package:brms': ddirichlet, rdirichlet Loading required package: StanHeaders rstan version 2.32.7 (Stan version 2.39.0) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Attaching package: 'rstan' The following object is masked from 'package:runjags': extract The following object is masked from 'package:R2jags': traceplot The following object is masked from 'package:coda': traceplot Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `stanc()`: ! 0 Syntax error in 'string', line 4, column 33 to column 34, parsing error: ------------------------------------------------- 2: data { 3: int<lower=0> N; 4: int<lower=0,upper=1> volunteer[N]; ^ 5: vector[N] female; 6: vector[N] neuroticism; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[N] int<lower=0, upper=1> volunteer; Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─rstan::stan(...) 20. │ └─rstan::stan_model(...) 21. │ └─rstan::stanc(...) 22. │ └─base::stop(paste(model_cppcode$errors, collapse = "\n")) 23. └─base::.handleSimpleError(...) 24. └─testthat (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-patched-linux-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [199s/267s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.2 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... Start sampling SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.7e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.37 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.16 seconds (Warm-up) Chain 1: 0.131 seconds (Sampling) Chain 1: 0.291 seconds (Total) Chain 1: SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 0.00146 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 14.6 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.12 seconds (Warm-up) Chain 2: 0.141 seconds (Sampling) Chain 2: 0.261 seconds (Total) Chain 2: module glm loaded Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3509 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 5 Total graph size: 3015 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 500 Unobserved stochastic nodes: 3 Total graph size: 3506 Initializing model ## ## Markov Chain Monte Carlo Package (MCMCpack) ## Copyright (C) 2003-2026 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park ## ## Support provided by the U.S. National Science Foundation ## (Grants SES-0350646 and SES-0350613) ## Attaching package: 'MCMCpack' The following objects are masked from 'package:brms': ddirichlet, rdirichlet Loading required package: StanHeaders rstan version 2.32.7 (Stan version 2.39.0) For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()). To avoid recompilation of unchanged Stan programs, we recommend calling rstan_options(auto_write = TRUE) For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions, change `threads_per_chain` option: rstan_options(threads_per_chain = 1) Attaching package: 'rstan' The following object is masked from 'package:runjags': extract The following object is masked from 'package:R2jags': traceplot The following object is masked from 'package:coda': traceplot Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `stanc()`: ! 0 Syntax error in 'string', line 4, column 33 to column 34, parsing error: ------------------------------------------------- 2: data { 3: int<lower=0> N; 4: int<lower=0,upper=1> volunteer[N]; ^ 5: vector[N] female; 6: vector[N] neuroticism; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[N] int<lower=0, upper=1> volunteer; Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─rstan::stan(...) 20. │ └─rstan::stan_model(...) 21. │ └─rstan::stanc(...) 22. │ └─base::stop(paste(model_cppcode$errors, collapse = "\n")) 23. └─base::.handleSimpleError(...) 24. └─testthat (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-release-linux-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running 'testthat.R' [63s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.1 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... specified C++17 make cmd is make -f "D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.6.1/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file486dc540a7a18.dll" WIN=64 TCLBIN= OBJECTS="file486dc540a7a18.o" make would use make[1]: Entering directory '/d/temp/2026_09_15_23_01_57_27218/RtmpAViOw9' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/" -I"D:/temp/2026_09_15_23_01_57_27218/RtmpuwCElj/RLIBS_41c7883a140f/RcppEigen/include/" -I"D:/temp/2026_09_15_23_01_57_27218/RtmpuwCElj/RLIBS_41c7883a140f/RcppEigen/include/unsupported" -I"D:/temp/2026_09_15_23_01_57_27218/RtmpuwCElj/RLIBS_41c7883a140f/BH/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.6/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file486dc540a7a18.cpp -o file486dc540a7a18.o if test "zfile486dc540a7a18.o" != "z"; then \ if test -e "file486dc540a7a18-win.def"; then \ echo g++ -shared -s -static-libgcc -o file486dc540a7a18.dll file486dc540a7a18-win.def file486dc540a7a18.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file486dc540a7a18.dll file486dc540a7a18-win.def file486dc540a7a18.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file486dc540a7a18.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file486dc540a7a18.dll tmp.def file486dc540a7a18.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file486dc540a7a18.dll tmp.def file486dc540a7a18.o "D:/RCompile/CRANpkg/lib/4.6/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.6.1/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_15_23_01_57_27218/RtmpAViOw9' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! del486dc4bec2b4a__namespace::model486dc4bec2b4a_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]' 22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p; D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here 21 | double T(dense_e_point& z) { D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes] 654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m); | ^~~~~~~~~ make[1]: *** [D:/RCompile/recent/R-4.6.1/etc/x64/Makeconf:304: file486dc540a7a18.o] Error 1 Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ ├─pkgbuild::with_build_tools(...) 36. │ │ └─pkgbuild:::withr_with_path(rtools_path(), code) 37. │ │ └─base::force(code) 38. │ └─inline::cxxfunction(...) 39. │ └─inline:::compileCode(f, code, language = language, verbose = verbose) 40. │ └─base::stop(...) 41. └─base::.handleSimpleError(...) 42. └─testthat (local) h(simpleError(msg, call)) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `sink()`: ! invalid connection Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ └─base::sink(type = "output") 36. └─base::.handleSimpleError(`<fn>`, "invalid connection", base::quote(sink(type = "output"))) 37. └─testthat (local) h(simpleError(msg, call)) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) Execution halted Flavor: r-release-windows-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running 'testthat.R' [78s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(BayesPostEst) > > test_check("BayesPostEst") Loading required package: rjags Loading required package: coda Linked to JAGS 4.3.1 Loaded modules: basemod,bugs Attaching package: 'R2jags' The following object is masked from 'package:coda': traceplot Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar Compiling Stan program... make cmd is make -f "D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.5.3/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file51cc452ed393d.dll" WIN=64 TCLBIN= OBJECTS="file51cc452ed393d.o" make would use make[1]: Entering directory '/d/temp/2026_09_23_09_31_10_28374/RtmpE5a3HS' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I"D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/" -I"D:/temp/2026_09_23_09_31_10_28374/Rtmpw7DHAp/RLIBS_2e3cc58a6340f/RcppEigen/include/" -I"D:/temp/2026_09_23_09_31_10_28374/Rtmpw7DHAp/RLIBS_2e3cc58a6340f/RcppEigen/include/unsupported" -I"D:/temp/2026_09_23_09_31_10_28374/Rtmpw7DHAp/RLIBS_2e3cc58a6340f/BH/include" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/" -I"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/" -I"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include/" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.5/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.5/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include "D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp" -std=c++1y -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file51cc452ed393d.cpp -o file51cc452ed393d.o if test "zfile51cc452ed393d.o" != "z"; then \ if test -e "file51cc452ed393d-win.def"; then \ echo g++ -shared -s -static-libgcc -o file51cc452ed393d.dll file51cc452ed393d-win.def file51cc452ed393d.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file51cc452ed393d.dll file51cc452ed393d-win.def file51cc452ed393d.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file51cc452ed393d.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -shared -s -static-libgcc -o file51cc452ed393d.dll tmp.def file51cc452ed393d.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ g++ -shared -s -static-libgcc -o file51cc452ed393d.dll tmp.def file51cc452ed393d.o "D:/RCompile/CRANpkg/lib/4.5/rstan/lib/x64/libStanServices.a" -L"D:/RCompile/CRANpkg/lib/4.5/StanHeaders/libs/x64" -lStanHeaders -L"D:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64" -ltbb -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.5/RcppParallel/lib/x64 -ltbb -ltbbmalloc -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.5.3/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2026_09_23_09_31_10_28374/RtmpE5a3HS' Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `compileCode()`: ! del51cc444c76264__namespace::model51cc444c76264_; BaseRNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]' 22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p; D:/RCompile/CRANpkg/lib/4.5/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:21:0: required from here 21 | double T(dense_e_point& z) { D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes] 654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m); | ^~~~~~~~~ make[1]: *** [D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf:302: file51cc452ed393d.o] Error 1 Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ ├─pkgbuild::with_build_tools(...) 36. │ │ └─pkgbuild:::withr_with_path(rtools_path(), code) 37. │ │ └─base::force(code) 38. │ └─inline::cxxfunction(...) 39. │ └─inline:::compileCode(f, code, language = language, verbose = verbose) 40. │ └─base::stop(...) 41. └─base::.handleSimpleError(...) 42. └─testthat (local) h(simpleError(msg, call)) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `sink()`: ! invalid connection Backtrace: ▆ 1. ├─testthat::test_check("BayesPostEst") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::lapply(r_scripts, source) at ./setup.R:24:1 15. │ └─base (local) FUN(X[[i]], ...) 16. │ ├─base::withVisible(eval(ei, envir)) 17. │ └─base::eval(ei, envir) 18. │ └─base::eval(ei, envir) 19. ├─brms::brm(...) 20. │ └─brms::do_call(compile_model, compile_args) 21. │ └─brms:::eval2(call, envir = args, enclos = envir) 22. │ └─base::eval(expr, envir, ...) 23. │ └─base::eval(expr, envir, ...) 24. │ └─brms (local) .fun(...) 25. │ └─brms (local) .compile_model(model, ...) 26. │ ├─brms:::eval_silent(...) 27. │ │ └─base::eval(expr, envir) 28. │ │ └─base::eval(expr, envir) 29. │ └─brms::do_call(rstan::stan_model, args) 30. │ └─brms:::eval2(call, envir = args, enclos = envir) 31. │ └─base::eval(expr, envir, ...) 32. │ └─base::eval(expr, envir, ...) 33. │ └─rstan (local) .fun(model_code = .x1) 34. │ └─rstan:::cxxfunctionplus(...) 35. │ └─base::sink(type = "output") 36. └─base::.handleSimpleError(`<fn>`, "invalid connection", base::quote(sink(type = "output"))) 37. └─testthat (local) h(simpleError(msg, call)) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.