Running examples in ‘jagstargets-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tar_jags_rep_summary
> ### Title: Tidy posterior summaries from multiple MCMCs per model
> ### Aliases: tar_jags_rep_summary
> 
> ### ** Examples
> 
> if (requireNamespace("R2jags", quietly = TRUE)) {
+ targets::tar_dir({ # tar_dir() runs code from a temporary directory.
+ targets::tar_script({
+ library(jagstargets)
+ # Do not use a temp file for a real project
+ # or else your targets will always rerun.
+ tmp <- tempfile(pattern = "", fileext = ".jags")
+ tar_jags_example_file(tmp)
+ list(
+   tar_jags_rep_summary(
+     your_model,
+     jags_files = tmp,
+     data = tar_jags_example_data(),
+     parameters.to.save = "beta",
+     batches = 2,
+     reps = 2,
+     stdout = R.utils::nullfile(),
+     stderr = R.utils::nullfile()
+   )
+ )
+ }, ask = FALSE)
+ targets::tar_make()
+ })
+ }
▶ start target your_model_batch
● built target your_model_batch [0.001 seconds]
▶ start target your_model_file_X2e3fab775833
● built target your_model_file_X2e3fab775833 [0 seconds]
▶ start branch your_model_data_7b1b1358
● built branch your_model_data_7b1b1358 [0.011 seconds]
▶ start branch your_model_data_7b6d503e
● built branch your_model_data_7b6d503e [0.009 seconds]
● built pattern your_model_data
▶ start target your_model_lines_X2e3fab775833
● built target your_model_lines_X2e3fab775833 [0 seconds]
▶ start branch your_model_X2e3fab775833_24769822
● built branch your_model_X2e3fab775833_24769822 [0.687 seconds]
▶ start branch your_model_X2e3fab775833_4e151279
● built branch your_model_X2e3fab775833_4e151279 [0.261 seconds]
● built pattern your_model_X2e3fab775833
▶ start target your_model
● built target your_model [0 seconds]
▶ end pipeline [1.325 seconds]
> 
> 
> 
> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
> base::cat("tar_jags_rep_summary", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed:  8.977 0.619 1588.694 1049.243 189.733 
> grDevices::dev.off()
null device 
          1 
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Killed