Package: jagstargets Check: examples New result: ERROR Running examples in ‘jagstargets-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: tar_jags > ### Title: One MCMC per model with multiple outputs > ### Aliases: tar_jags > > ### ** 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( + your_model, + jags_files = tmp, + data = tar_jags_example_data(), + parameters.to.save = "beta", + stdout = R.utils::nullfile(), + stderr = R.utils::nullfile() + ) + ) + }, ask = FALSE) + targets::tar_make() + }) + } ▶ dispatched target your_model_file_X2a86f7470b428c ● completed target your_model_file_X2a86f7470b428c [0.001 seconds, 87 bytes] ▶ dispatched target your_model_data ✖ errored target your_model_data ✖ errored pipeline [0.118 seconds] Error: ! targets::tar_make() error ── Debugging ─────────────────────────────────────────────────────────────────── • tar_errored() • tar_meta(fields = any_of("error"), complete_only = TRUE) • tar_workspace() • tar_workspaces() ── How to ────────────────────────────────────────────────────────────────────── • Debug: https://books.ropensci.org/targets/debugging.html • Help: https://books.ropensci.org/targets/help.html ── Last error message ────────────────────────────────────────────────────────── _store_ there is no package called ‘qs2’ ── Last error traceback ──────────────────────────────────────────────────────── No traceback available. Execution halted