Error(s) in re-building vignettes:
  ...
--- re-building ‘diagnostics.Rmd’ using rmarkdown
--- finished re-building ‘diagnostics.Rmd’

--- re-building ‘user_guide.Rmd’ using rmarkdown

 *** caught segfault ***
address 0x564f00000004, cause 'memory not mapped'

Traceback:
 1: eval(jsub, SDenv, parent.frame())
 2: eval(jsub, SDenv, parent.frame())
 3: `[.data.table`(object$simulated, , `:=`(prev_registry, as.numeric(incident_date >=     object$registry_start & alive_at_index)))
 4: object$simulated[, `:=`(prev_registry, as.numeric(incident_date >=     object$registry_start & alive_at_index))]
 5: test_prevalence_fit(object)
 6: prevalence(index = "2013-01-30", num_years_to_estimate = c(3,     5, 10, 20), data = prevsim, inc_model = pois_mod, surv_formula = Surv(time,     status) ~ age + sex, dist = "weibull", population_size = 1e+06,     incident_column = "entrydate", death_column = "eventdate")
 7: eval(expr, envir, enclos)
 8: eval(expr, envir, enclos)
 9: eval_with_user_handlers(expr, envir, enclos, user_handlers)
10: withVisible(eval_with_user_handlers(expr, envir, enclos, user_handlers))
11: withCallingHandlers(withVisible(eval_with_user_handlers(expr,     envir, enclos, user_handlers)), warning = wHandler, error = eHandler,     message = mHandler)
12: handle(ev <- withCallingHandlers(withVisible(eval_with_user_handlers(expr,     envir, enclos, user_handlers)), warning = wHandler, error = eHandler,     message = mHandler))
13: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval_with_user_handlers(expr,     envir, enclos, user_handlers)), warning = wHandler, error = eHandler,     message = mHandler)))
14: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,     debug = debug, last = i == length(out), use_try = stop_on_error !=         2L, keep_warning = keep_warning, keep_message = keep_message,     log_echo = log_echo, log_warning = log_warning, output_handler = output_handler,     include_timing = include_timing)
15: evaluate::evaluate(...)
16: 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))
17: in_dir(input_dir(), expr)
18: 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)))
19: eng_r(options)
20: block_exec(params)
21: call_block(x)
22: process_group.block(group)
23: process_group(group)
24: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) if (xfun::pkg_available("rlang", "1.0.0") &&         !xfun::check_old_package("learnr", "0.11.3")) rlang::entrace(e))
25: withCallingHandlers(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) if (xfun::pkg_available("rlang", "1.0.0") &&         !xfun::check_old_package("learnr", "0.11.3")) rlang::entrace(e)),     error = function(e) {        setwd(wd)        write_utf8(res, output %n% stdout())        message("\nQuitting from lines ", paste(current_lines(i),             collapse = "-"), if (labels[i] != "")             sprintf(" [%s]", labels[i]), sprintf(" (%s)", knit_concord$get("infile")))    })
26: process_file(text, output)
27: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
28: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(),     output_dir = getwd(), ...)
29: vweave_rmarkdown(...)
30: engine$weave(file, quiet = quiet, encoding = enc)
31: doTryCatch(return(expr), name, parentenv, handler)
32: tryCatchOne(expr, names, parentenv, handlers[[1L]])
33: tryCatchList(expr, classes, parentenv, handlers)
34: 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)))})
35: tools:::.buildOneVignette("user_guide.Rmd", "/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev",     TRUE, FALSE, "user_guide", "UTF-8", "/tmp/RtmpzQGhoA/file2c01a0612ab012.rds")
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
SUMMARY: processing the following file failed:
  ‘user_guide.Rmd’

Error: Vignette re-building failed.
Execution halted