Error(s) in re-building vignettes:
--- re-building ‘rEDM-tutorial.Rmd’ using rmarkdown
2026-08-25 15:15:45.983 R[51889:75747] XType: Using static font registry.

 *** caught segfault ***
address 0x110, cause 'invalid permissions'

 *** caught segfault ***
address 0x110, cause 'invalid permissions'

 *** caught segfault ***
address 0x110, cause 'invalid permissions'

 *** caught segfault ***
address 0x110, cause 'invalid permissions'

Traceback:
 1: RowCumsum(valid)
 2: FindNeighbors(embedding, lib_i, pred_i, knn, exclusionRadius = exclusionRadius,     validLib = validLib, libOverlap = idx$libOverlap, backend = backend,     verbose = verbose)
 3: SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn,     tau = tau, theta = th, exclusionRadius = exclusionRadius,     embedded = embedded, validLib = validLib, noTime = noTime,     ignoreNan = ignoreNan, backend = backend)
 4: ComputeError(predictions$Observations, predictions$Predictions)
 5: SweepRho(SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp,     knn = knn, tau = tau, theta = th, exclusionRadius = exclusionRadius,     embedded = embedded, validLib = validLib, noTime = noTime,     ignoreNan = ignoreNan, backend = backend)$predictions)
 6: FUN(X[[i]], ...)
 7: lapply(X = S, FUN = FUN, ...)
 8: doTryCatch(return(expr), name, parentenv, handler)
 9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: tryCatchList(expr, classes, parentenv, handlers)
11: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    if (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- deparse(call, nlines = 1L)        prefix <- paste("Error in", dcall, ": ")        LONG <- 75L        sm <- strsplit(conditionMessage(e), "\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")        if (is.na(w))             w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],                 type = "b")        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }    else prefix <- "Error : "    msg <- paste0(prefix, conditionMessage(e), "\n")    .Internal(seterrmessage(msg[1L]))    if (!silent && isTRUE(getOption("show.error.messages"))) {        cat(msg, file = outFile)        .Internal(printDeferredWarnings())    }    invisible(structure(msg, class = "try-error", condition = e))})
12: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
13: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
14: FUN(X[[i]], ...)
15: lapply(seq_len(cores), inner.do)
16: parallel::mclapply(values, worker, mc.cores = cores, mc.preschedule = TRUE)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: tryCatchList(expr, classes, parentenv, handlers)
20: tryCatch(parallel::mclapply(values, worker, mc.cores = cores,     mc.preschedule = TRUE), error = function(e) NULL)
21: SweepApply(theta, worker, numProcess)
22: unlist(SweepApply(theta, worker, numProcess))
23: PredictNonlinear(dataFrame = Thrips, columns = "Thrips_imaginis",     target = "Thrips_imaginis", lib = "1 73", pred = "1 73",     E = E, showPlot = TRUE)
24: eval(expr, envir)
25: eval(expr, envir)
26: withVisible(eval(expr, envir))
27: withCallingHandlers(code, error = function (e) rlang::entrace(e), 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)})
28: eval(call)
29: eval(call)
30: 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)
31: doWithOneRestart(return(expr), restart)
32: withOneRestart(expr, restarts[[1L]])
33: withRestartList(expr, restarts[-nr])
34: doWithOneRestart(return(expr), restart)
35: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
36: withRestartList(expr, restarts)
37: 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)
38: evaluate::evaluate(...)
39: 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))
40: in_dir(input_dir(), expr)
41: 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)))
42: eng_r(options)
43: block_exec(params)
44: call_block(x)
45: process_group(group)
46: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    })
47: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global()))
48: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global())), 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)
49: process_file(text, output)
50: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
51: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(),     output_dir = getwd(), ...)
52: vweave_rmarkdown(...)
53: engine$weave(file, quiet = quiet, encoding = enc)
54: doTryCatch(return(expr), name, parentenv, handler)
55: tryCatchOne(expr, names, parentenv, handlers[[1L]])
56: tryCatchList(expr, classes, parentenv, handlers)
57: 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)    }    outputs <- c(outputs, output)}, error = function(e) {    thisOK <<- FALSE    fails <<- c(fails, file)    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",         file, conditionMessage(e)))})
58: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/rEDM.Rcheck/vign_test/rEDM",     skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/Rtmpjm3i0Y/file840b2c3f8085.rds")
An irrecoverable exception occurred. R is aborting now ...

Traceback:
 1: RowCumsum(valid)
 2: FindNeighbors(embedding, lib_i, pred_i, knn, exclusionRadius = exclusionRadius,     validLib = validLib, libOverlap = idx$libOverlap, backend = backend,     verbose = verbose)
 3: SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn,     tau = tau, theta = th, exclusionRadius = exclusionRadius,     embedded = embedded, validLib = validLib, noTime = noTime,     ignoreNan = ignoreNan, backend = backend)
 4: ComputeError(predictions$Observations, predictions$Predictions)
 5: SweepRho(SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp,     knn = knn, tau = tau, theta = th, exclusionRadius = exclusionRadius,     embedded = embedded, validLib = validLib, noTime = noTime,     ignoreNan = ignoreNan, backend = backend)$predictions)
 6: FUN(X[[i]], ...)
 7: lapply(X = S, FUN = FUN, ...)
 8: doTryCatch(return(expr), name, parentenv, handler)
 9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: tryCatchList(expr, classes, parentenv, handlers)
11: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    if (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- deparse(call, nlines = 1L)        prefix <- paste("Error in", dcall, ": ")        LONG <- 75L        sm <- strsplit(conditionMessage(e), "\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")        if (is.na(w))             w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],                 type = "b")        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }    else prefix <- "Error : "    msg <- paste0(prefix, conditionMessage(e), "\n")    .Internal(seterrmessage(msg[1L]))    if (!silent && isTRUE(getOption("show.error.messages"))) {        cat(msg, file = outFile)        .Internal(printDeferredWarnings())    }    invisible(structure(msg, class = "try-error", condition = e))})
12: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
13: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
14: FUN(X[[i]], ...)
15: lapply(seq_len(cores), inner.do)
16: parallel::mclapply(values, worker, mc.cores = cores, mc.preschedule = TRUE)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: tryCatchList(expr, classes, parentenv, handlers)
20: tryCatch(parallel::mclapply(values, worker, mc.cores = cores,     mc.preschedule = TRUE), error = function(e) NULL)
21: SweepApply(theta, worker, numProcess)
22: unlist(SweepApply(theta, worker, numProcess))
23: PredictNonlinear(dataFrame = Thrips, columns = "Thrips_imaginis",     target = "Thrips_imaginis", lib = "1 73", pred = "1 73",     E = E, showPlot = TRUE)
24: eval(expr, envir)
25: eval(expr, envir)
26: 
Traceback:
 1: RowCumsum(valid)
withVisible(eval(expr, envir))
27:  2: FindNeighbors(embedding, lib_i, pred_i, knn, exclusionRadius = exclusionRadius,     validLib = validLib, libOverlap = idx$libOverlap, backend = backend,     verbose = verbose)
 3: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) {    watcher$capture_plot_and_output()    if (on_message$capture) {        watcher$push(cnd)    }    if (on_message$silence) {        invokeRestart("muffleMessage")    }}, warning = function (cnd) SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn,     tau = tau, theta = th, exclusionRadius = exclusionRadius,     embedded = embedded, validLib = validLib, noTime = noTime,     ignoreNan = ignoreNan, backend = backend)
{    if (getOption("warn") >= 2 || getOption("warn") < 0) {        return()    }
Traceback:
 1:  4: ComputeError(predictions$Observations, predictions$Predictions)
    watcher$capture_plot_and_output() 5: SweepRho(SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp,     if (on_warning$capture) {        cnd <- sanitize_call(cnd)    knn = knn, tau = tau, theta = th, exclusionRadius = exclusionRadius,         watcher$push(cnd)    }    if (on_warning$silence) {        invokeRestart("muffleWarning")    }}, error = function (cnd) {RowCumsum(valid)
 2: FindNeighbors(embedding, lib_i, pred_i, knn, exclusionRadius = exclusionRadius,     validLib = validLib, libOverlap = idx$libOverlap, backend = backend,     verbose = verbose)    watcher$capture_plot_and_output()    cnd <- sanitize_call(cnd)    watcher$push(cnd)    embedded = embedded, validLib = validLib, noTime = noTime, 
 3: SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn,     switch(on_error, continue = invokeRestart("eval_continue"),     ignoreNan = ignoreNan, backend = backend)$predictions)        stop = invokeRestart("eval_stop"), error = NULL)    tau = tau, theta = th, exclusionRadius = exclusionRadius, 
 6: FUN(X[[i]], ...)
})
28: eval(call)
29:     embedded = embedded, validLib = validLib, noTime = noTime,  7:     ignoreNan = ignoreNan, backend = backend)
 4: ComputeError(predictions$Observations, predictions$Predictions)
lapply(X = S, FUN = FUN, ...)
 8: doTryCatch(return(expr), name, parentenv, handler)
 9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: tryCatchList(expr, classes, parentenv, handlers)
 5: 11: SweepRho(SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, eval(call)
tryCatch(expr, error = function(e) {    call <- conditionCall(e)30:     knn = knn, tau = tau, theta = th, exclusionRadius = exclusionRadius, with_handlers({    if (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- deparse(call, nlines = 1L)        prefix <- paste("Error in", dcall, ": ")        LONG <- 75L        sm <- strsplit(conditionMessage(e), "\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")    embedded = embedded, validLib = validLib, noTime = noTime,         if (is.na(w))     for (expr in tle$exprs) {        ev <- withVisible(eval(expr, envir))        watcher$capture_plot_and_output()        watcher$print_value(ev$value, ev$visible, envir)    }    TRUE    ignoreNan = ignoreNan, backend = backend)$predictions)            w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], 
 6: FUN(X[[i]], ...)}, handlers)                type = "b")
        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }    else prefix <- "Error : "    msg <- paste0(prefix, conditionMessage(e), "\n")31: doWithOneRestart(return(expr), restart)
32:     .Internal(seterrmessage(msg[1L]))
withOneRestart(expr, restarts[[1L]]) 7: lapply(X = S, FUN = FUN, ...)
    if (!silent && isTRUE(getOption("show.error.messages"))) {        cat(msg, file = outFile) 8: doTryCatch(return(expr), name, parentenv, handler)
 9: tryCatchOne(expr, names, parentenv, handlers[[1L]])

10:         .Internal(printDeferredWarnings())tryCatchList(expr, classes, parentenv, handlers)    }
11: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    if (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- deparse(call, nlines = 1L)        prefix <- paste("Error in", dcall, ": ")        LONG <- 75L        sm <- strsplit(conditionMessage(e), "\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")        if (is.na(w))             w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],                 type = "b")        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }33:     else prefix <- "Error : "withRestartList(expr, restarts[-nr])    msg <- paste0(prefix, conditionMessage(e), "\n")    .Internal(seterrmessage(msg[1L]))    if (!silent && isTRUE(getOption("show.error.messages"))) {        cat(msg, file = outFile)
34:         .Internal(printDeferredWarnings())    }    invisible(structure(msg, class = "try-error", condition = e))})
12: doWithOneRestart(return(expr), restart)try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
    invisible(structure(msg, class = "try-error", condition = e))13: })
35: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
36: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))withRestartList(expr, restarts)

12: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
14: FUN(X[[i]], ...)
15: lapply(seq_len(cores), inner.do)
16: parallel::mclapply(values, worker, mc.cores = cores, mc.preschedule = TRUE)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: tryCatchList(expr, classes, parentenv, handlers)
37: withRestarts(with_handlers({    for (expr in tle$exprs) {        ev <- withVisible(eval(expr, envir))
13: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
        watcher$capture_plot_and_output()        watcher$print_value(ev$value, ev$visible, envir)    }    TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE)
38: 14: FUN(X[[i]], ...)
15: lapply(seq_len(cores), inner.do)
16: parallel::mclapply(values, worker, mc.cores = cores, mc.preschedule = TRUE)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
20: 19: tryCatchList(expr, classes, parentenv, handlers)
20: tryCatch(parallel::mclapply(values, worker, mc.cores = cores,     mc.preschedule = TRUE), error = function(e) NULL)
21: SweepApply(theta, worker, numProcess)
22: unlist(SweepApply(theta, worker, numProcess))
23: tryCatch(parallel::mclapply(values, worker, mc.cores = cores,     mc.preschedule = TRUE), error = function(e) NULL)
21: SweepApply(theta, worker, numProcess)
22: unlist(SweepApply(theta, worker, numProcess))
23: evaluate::evaluate(...)PredictNonlinear(dataFrame = Thrips, columns = "Thrips_imaginis", PredictNonlinear(dataFrame = Thrips, columns = "Thrips_imaginis", 
39: 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)     target = "Thrips_imaginis", lib = "1 73", pred = "1 73",     target = "Thrips_imaginis", lib = "1 73", pred = "1 73",     E = E, showPlot = TRUE)    E = E, showPlot = TRUE)
24: eval(expr, envir)
25: eval(expr, envir)
26: withVisible(eval(expr, envir))
27: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) {
    watcher$capture_plot_and_output()            0L    if (on_message$capture) {        else 2L24:         watcher$push(cnd)    }    if (on_message$silence) {        invokeRestart("muffleMessage")    }}, warning = function (cnd) {    if (getOption("warn") >= 2 || getOption("warn") < 0) {        return()    }    }, output_handler = knit_handlers(options$render, options))eval(expr, envir)
40: in_dir(input_dir(), expr)
41: 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,     watcher$capture_plot_and_output()    if (on_warning$capture) {
25: eval(expr, envir)
        cnd <- sanitize_call(cnd)26:         watcher$push(cnd)    stop_on_error = if (is.numeric(options$error)) options$error else {withVisible(eval(expr, envir))
27: withCallingHandlers(code, error = function (e) rlang::entrace(e), message = function (cnd) {    watcher$capture_plot_and_output()    if (on_message$capture) {        watcher$push(cnd)    }    if (on_warning$silence) {        invokeRestart("muffleWarning")    }    if (on_message$silence) {        if (options$error && options$include)             0L        else 2L    }, output_handler = knit_handlers(options$render, options)))
42: eng_r(options)        invokeRestart("muffleMessage")    }    }
43: }, error = function (cnd) }, warning = function (cnd) block_exec(params){    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)})
28: eval(call)
29: eval(call){

    if (getOption("warn") >= 2 || getOption("warn") < 0) {30: 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        return()}, handlers)    }
    watcher$capture_plot_and_output()    if (on_warning$capture) {        cnd <- sanitize_call(cnd)        watcher$push(cnd)    }    if (on_warning$silence) {44:         invokeRestart("muffleWarning")31:     }doWithOneRestart(return(expr), restart)
32: withOneRestart(expr, restarts[[1L]])
33: call_block(x)
45: process_group(group)
46: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), withRestartList(expr, restarts[-nr])    error = function(e) {
        if (progress && is.function(pb$interrupt)) 34: doWithOneRestart(return(expr), restart)
            pb$interrupt()35: }, error = function (cnd) {        if (is_R_CMD_build() || is_R_CMD_check())     watcher$capture_plot_and_output()withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])            error <<- format(e)    cnd <- sanitize_call(cnd)
36:     })
    watcher$push(cnd)47: withRestartList(expr, restarts)
37: withRestarts(with_handlers({    for (expr in tle$exprs) {        ev <- withVisible(eval(expr, envir))        watcher$capture_plot_and_output()with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),         watcher$print_value(ev$value, ev$visible, envir)    error = function(e) {    }    TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE)
38: evaluate::evaluate(...)
39:         if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global()))
48: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global())), 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)
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, 49: process_file(text, output)
50: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)    stop_on_error = if (is.numeric(options$error)) options$error else {    switch(on_error, continue = invokeRestart("eval_continue"),         stop = invokeRestart("eval_stop"), error = NULL)})        if (options$error && options$include) 
            0L
51: 28: eval(call)rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 
29:         else 2L    }, output_handler = knit_handlers(options$render, options))
40: in_dir(input_dir(), expr)
41: 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 {    output_dir = getwd(), ...)
52:         if (options$error && options$include)             0Leval(call)
30: with_handlers({    for (expr in tle$exprs) {        ev <- withVisible(eval(expr, envir))        else 2L    }, output_handler = knit_handlers(options$render, options)))
42: eng_r(options)
43: block_exec(params)
44: call_block(x)
vweave_rmarkdown(...)        watcher$capture_plot_and_output()
45: process_group(group)
46: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {53: engine$weave(file, quiet = quiet, encoding = enc)
54: doTryCatch(return(expr), name, parentenv, handler)
55: tryCatchOne(expr, names, parentenv, handlers[[1L]])
56: tryCatchList(expr, classes, parentenv, handlers)
57: tryCatch({        watcher$print_value(ev$value, ev$visible, envir)    engine$weave(file, quiet = quiet, encoding = enc)        if (progress && is.function(pb$interrupt))     }    TRUE    setwd(startdir)}, handlers)
31:     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", doWithOneRestart(return(expr), restart)
32: withOneRestart(expr, restarts[[1L]])
33: withRestartList(expr, restarts[-nr])
34: doWithOneRestart(return(expr), restart)
35: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
36:             engine = engine)withRestartList(expr, restarts)            pb$interrupt()    }    outputs <- c(outputs, output)}, error = function(e) {    thisOK <<- FALSE    fails <<- c(fails, file)        if (is_R_CMD_build() || is_R_CMD_check()) 
            error <<- format(e)37: withRestarts(with_handlers({    for (expr in tle$exprs) {        ev <- withVisible(eval(expr, envir))    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",         file, conditionMessage(e)))})
58: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/rEDM.Rcheck/vign_test/rEDM",     skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/Rtmpjm3i0Y/file840b2c3f8085.rds")
An irrecoverable exception occurred. R is aborting now ...
    })
47: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))         watcher$capture_plot_and_output()        watcher$print_value(ev$value, ev$visible, envir)    }    TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE)
38: evaluate::evaluate(...)
39: 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))
40: in_dir(input_dir(), expr)
            pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global()))
41: 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) 48: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global())), function(loc) {    setwd(wd)    write_utf8(res, output %n% stdout())    paste0("\nQuitting from ", loc, if (!is.null(error))         paste0("\n", rule(), error, "\n", rule()))            0L        else 2L    }, output_handler = knit_handlers(options$render, options)))
42: eng_r(options)
43: }, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc)
49: process_file(text, output)block_exec(params)
44: call_block(x)
45: process_group(group)
46: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    })

50: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
51: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(),     output_dir = getwd(), ...)47: with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global()))
48: xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        if (progress && is.function(pb$interrupt))             pb$interrupt()        if (is_R_CMD_build() || is_R_CMD_check())             error <<- format(e)    }), list(rlang_trace_top_env = knit_global())), function(loc) {    setwd(wd)    write_utf8(res, output %n% stdout())    paste0("\nQuitting from ", loc, if (!is.null(error)) 
52: vweave_rmarkdown(...)
53: engine$weave(file, quiet = quiet, encoding = enc)        paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc)
54: doTryCatch(return(expr), name, parentenv, handler)

55: 49: process_file(text, output)
50: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
tryCatchOne(expr, names, parentenv, handlers[[1L]])
56: 51: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(),     output_dir = getwd(), ...)
52: vweave_rmarkdown(...)
53: engine$weave(file, quiet = quiet, encoding = enc)
54: doTryCatch(return(expr), name, parentenv, handler)
55: tryCatchOne(expr, names, parentenv, handlers[[1L]])
56: tryCatchList(expr, classes, parentenv, handlers)
57: tryCatch({    engine$weave(file, quiet = quiet, encoding = enc)    setwd(startdir)    output <- find_vignette_product(name, by = "weave", engine = engine)tryCatchList(expr, classes, parentenv, handlers)    if (!have.makefile && vignette_is_tex(output)) {
57: 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",         texi2pdf(file = output, clean = FALSE, quiet = quiet)        output <- find_vignette_product(name, by = "texi2pdf",             engine = engine)    }    outputs <- c(outputs, output)}, error = function(e) {    thisOK <<- FALSE            engine = engine)    }    outputs <- c(outputs, output)}, error = function(e) {    thisOK <<- FALSE    fails <<- c(fails, file)    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",         file, conditionMessage(e)))})
58: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/rEDM.Rcheck/vign_test/rEDM",     skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/Rtmpjm3i0Y/file840b2c3f8085.rds")
An irrecoverable exception occurred. R is aborting now ...
    fails <<- c(fails, file)    message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",         file, conditionMessage(e)))})
58: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/rEDM.Rcheck/vign_test/rEDM",     skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/Rtmpjm3i0Y/file840b2c3f8085.rds")
An irrecoverable exception occurred. R is aborting now ...

Quitting from rEDM-tutorial.Rmd:466-469 [smap_thrips]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `data.frame()`:
! arguments imply differing number of rows: 15, 0
---
Backtrace:
    ▆
 1. └─rEDM::PredictNonlinear(...)
 2.   └─base::data.frame(Theta = theta, rho = rho)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'rEDM-tutorial.Rmd' failed with diagnostics:
arguments imply differing number of rows: 15, 0
--- failed re-building ‘rEDM-tutorial.Rmd’

SUMMARY: processing the following file failed:
  ‘rEDM-tutorial.Rmd’

Error: Vignette re-building failed.
Execution halted