CRAN Package Check Results for Package villager

Last updated on 2025-05-12 06:50:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 10.44 519.14 529.58 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 5.95 310.67 316.62 OK
r-devel-linux-x86_64-fedora-clang 2.0.0 678.35 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.0 786.79 OK
r-devel-windows-x86_64 2.0.0 10.00 537.00 547.00 OK
r-patched-linux-x86_64 2.0.0 7.58 495.36 502.94 OK
r-release-linux-x86_64 2.0.0 10.58 502.59 513.17 OK
r-release-macos-arm64 2.0.0 253.00 OK
r-release-macos-x86_64 2.0.0 463.00 OK
r-release-windows-x86_64 2.0.0 12.00 459.00 471.00 OK
r-oldrel-macos-arm64 2.0.0 267.00 NOTE
r-oldrel-macos-x86_64 2.0.0 329.00 NOTE
r-oldrel-windows-x86_64 2.0.0 15.00 602.00 617.00 NOTE

Check Details

Version: 2.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘example-boltzman-wealth.Rmd’ using rmarkdown *** caught segfault *** address 0x7f8d69bfd9c8, cause 'memory not mapped' Traceback: 1: vroom_write_(x, file, delim, eol, na_str = na, col_names = col_names, append = append, options = opts, num_threads = num_threads, progress = progress, buf_lines = buf_lines) 2: vroom::vroom_write(x, file, delim = delim, col_names = col_names, append = append, na = na, eol = eol, quote = quote, escape = escape, num_threads = num_threads, progress = progress) 3: write_delim(x, file, delim = ",", na = na, append = append, col_names = col_names, quote = quote, escape = escape, eol = eol, num_threads = num_threads, progress = progress) 4: readr::write_csv(state$resource_states, file = resources_path, na = "NA", append = append, col_names = col_names) 5: self$writer$write(village$current_state, village$name) 6: simulator$run_model() 7: eval(expr, envir) 8: eval(expr, envir) 9: withVisible(eval(expr, envir)) 10: withCallingHandlers(code, message = function (cnd) { watcher$capture_plot_and_output() if (on_message$capture) { watcher$push(cnd) } if (on_message$silence) { invokeRestart("muffleMessage") }}, warning = function (cnd) { if (getOption("warn") >= 2 || getOption("warn") < 0) { return() } watcher$capture_plot_and_output() if (on_warning$capture) { cnd <- sanitize_call(cnd) watcher$push(cnd) } if (on_warning$silence) { invokeRestart("muffleWarning") }}, error = function (cnd) { watcher$capture_plot_and_output() cnd <- sanitize_call(cnd) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL)}) 11: eval(call) 12: eval(call) 13: with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers) 14: doWithOneRestart(return(expr), restart) 15: withOneRestart(expr, restarts[[1L]]) 16: withRestartList(expr, restarts[-nr]) 17: doWithOneRestart(return(expr), restart) 18: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 19: withRestartList(expr, restarts) 20: withRestarts(with_handlers({ for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) } TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) 21: evaluate::evaluate(...) 22: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)) 23: in_dir(input_dir(), expr) 24: in_input_dir(evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))) 25: eng_r(options) 26: block_exec(params) 27: call_block(x) 28: process_group(group) 29: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }) 30: xfun:::handle_error(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { if (progress && is.function(pb$interrupt)) pb$interrupt() if (xfun::pkg_available("rlang", "1.0.0")) { if (is_R_CMD_build() || is_R_CMD_check()) { cnd = tryCatch(rlang::entrace(e), error = identity) error <<- format(cnd) } else { rlang::entrace(e) } } }), function(loc) { setwd(wd) write_utf8(res, output %n% stdout()) paste0("\nQuitting from ", loc, if (!is.null(error)) paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc) 31: process_file(text, output) 32: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 33: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...) 34: vweave_rmarkdown(...) 35: engine$weave(file, quiet = quiet, encoding = enc) 36: doTryCatch(return(expr), name, parentenv, handler) 37: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 38: tryCatchList(expr, classes, parentenv, handlers) 39: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 40: tools:::.buildOneVignette("example-boltzman-wealth.Rmd", "/data/gannet/ripley/R/packages/tests-clang/villager.Rcheck/vign_test/villager", TRUE, FALSE, "example-boltzman-wealth", "UTF-8", "/tmp/Rtmpv8ZR0f/working_dir/Rtmpwl1bTb/file3493b649e98ab6.rds") An irrecoverable exception occurred. R is aborting now ... --- re-building ‘extending-agents.Rmd’ using rmarkdown --- finished re-building ‘extending-agents.Rmd’ --- re-building ‘extending-resources.Rmd’ using rmarkdown --- finished re-building ‘extending-resources.Rmd’ SUMMARY: processing the following file failed: ‘example-boltzman-wealth.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.0.0
Check: installed package size
Result: NOTE installed size is 5.2Mb sub-directories of 1Mb or more: doc 4.7Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64