- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘rEDM/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘rEDM’ version ‘2.0.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘rEDM’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/2s] OK
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [23s/25s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘rEDM-tutorial.Rmd’ using rmarkdown
2026-09-27 18:17:34.463 R[46329:69112] 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, tieBreak = FALSE, 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/Rtmp0Cl14H/file96912feb926c.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, tieBreak = FALSE, 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:
Traceback:
evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, 1: keep_message = if (is.numeric(options$message)) TRUE else options$message, stop_on_error = if (is.numeric(options$error)) options$error else {RowCumsum(valid) if (options$error && options$include)
0L 2: else 2LFindNeighbors(embedding, lib_i, pred_i, knn, exclusionRadius = exclusionRadius, }, output_handler = knit_handlers(options$render, options)) validLib = validLib, libOverlap = idx$libOverlap, backend = backend,
tieBreak = FALSE, verbose = verbose)40:
3: in_dir(input_dir(), expr)SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn,
tau = tau, theta = th, exclusionRadius = exclusionRadius, 41: embedded = embedded, validLib = validLib, noTime = noTime, in_input_dir(evaluate(code, envir = env, new_device = FALSE, ignoreNan = ignoreNan, backend = backend) keep_warning = if (is.numeric(options$warning)) TRUE else options$warning,
keep_message = if (is.numeric(options$message)) TRUE else options$message, 4: stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) ComputeError(predictions$Observations, predictions$Predictions) 0L
5: else 2LSweepRho(SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn, tau = tau, theta = th, exclusionRadius = exclusionRadius, }, output_handler = knit_handlers(options$render, options))) embedded = embedded, validLib = validLib, noTime = noTime, ignoreNan = ignoreNan, backend = backend)$predictions)
6: 42: FUN(X[[i]], ...)
eng_r(options) 7: lapply(X = S, FUN = FUN, ...)
43: 8: block_exec(params)doTryCatch(return(expr), name, parentenv, handler)
44: call_block(x) 9:
tryCatchOne(expr, names, parentenv, handlers[[1L]])45:
process_group(group)10: tryCatchList(expr, classes, parentenv, handlers)
46: 11: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) {tryCatch(expr, error = function(e) { if (progress && is.function(pb$interrupt)) call <- conditionCall(e) pb$interrupt() if (!is.null(call)) { if (is_R_CMD_build() || is_R_CMD_check()) if (identical(call[[1L]], quote(doTryCatch))) error <<- format(e) call <- sys.call(-4L) }) dcall <- deparse(call, nlines = 1L)
47: prefix <- paste("Error in", dcall, ": ") LONG <- 75Lwith_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), sm <- strsplit(conditionMessage(e), "\n")[[1L]] error = function(e) { if (progress && is.function(pb$interrupt)) w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") pb$interrupt() if (is.na(w)) if (is_R_CMD_build() || is_R_CMD_check()) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], error <<- format(e) type = "b") }), list(rlang_trace_top_env = knit_global())) if (w > LONG)
prefix <- paste0(prefix, "\n ")48: }xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), else prefix <- "Error : " error = function(e) { msg <- paste0(prefix, conditionMessage(e), "\n") if (progress && is.function(pb$interrupt)) pb$interrupt() .Internal(seterrmessage(msg[1L])) if (is_R_CMD_build() || is_R_CMD_check()) if (!silent && isTRUE(getOption("show.error.messages"))) { error <<- format(e) cat(msg, file = outFile) }), list(rlang_trace_top_env = knit_global())), function(loc) { .Internal(printDeferredWarnings()) setwd(wd) } write_utf8(res, output %n% stdout()) invisible(structure(msg, class = "try-error", condition = e))})
paste0("\nQuitting from ", loc, if (!is.null(error)) 12: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
13: paste0("\n", rule(), error, "\n", rule()))sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc)14:
49: FUN(X[[i]], ...)process_file(text, output)
15: lapply(seq_len(cores), inner.do)50:
16: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
parallel::mclapply(values, worker, mc.cores = cores, mc.preschedule = TRUE)51:
rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), 17: output_dir = getwd(), ...)
52: vweave_rmarkdown(...)doTryCatch(return(expr), name, parentenv, handler)
53:
engine$weave(file, quiet = quiet, encoding = enc)
18: 54: tryCatchOne(expr, names, parentenv, handlers[[1L]])doTryCatch(return(expr), name, parentenv, handler)
19: 55: tryCatchList(expr, classes, parentenv, handlers)tryCatchOne(expr, names, parentenv, handlers[[1L]])
20: 56:
Traceback:
tryCatchList(expr, classes, parentenv, handlers)tryCatch(parallel::mclapply(values, worker, mc.cores = cores,
mc.preschedule = TRUE), error = function(e) NULL)57:
tryCatch({21: SweepApply(theta, worker, numProcess) 1:
engine$weave(file, quiet = quiet, encoding = enc)22: setwd(startdir)RowCumsum(valid) output <- find_vignette_product(name, by = "weave", engine = engine)unlist(SweepApply(theta, worker, numProcess))
if (!have.makefile && vignette_is_tex(output)) {
2: 23: texi2pdf(file = output, clean = FALSE, quiet = quiet)PredictNonlinear(dataFrame = Thrips, columns = "Thrips_imaginis", FindNeighbors(embedding, lib_i, pred_i, knn, exclusionRadius = exclusionRadius, output <- find_vignette_product(name, by = "texi2pdf", target = "Thrips_imaginis", lib = "1 73", pred = "1 73", validLib = validLib, libOverlap = idx$libOverlap, backend = backend, engine = engine) E = E, showPlot = TRUE) tieBreak = FALSE, verbose = verbose)
}
24: 3: outputs <- c(outputs, output)eval(expr, envir)}, error = function(e) {
SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, knn = knn, thisOK <<- FALSE tau = tau, theta = th, exclusionRadius = exclusionRadius, 25: fails <<- c(fails, file) embedded = embedded, validLib = validLib, noTime = noTime, eval(expr, envir) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", ignoreNan = ignoreNan, backend = backend)
file, conditionMessage(e)))26:
})withVisible(eval(expr, envir)) 4:
58: ComputeError(predictions$Observations, predictions$Predictions)27: tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/rEDM.Rcheck/vign_test/rEDM",
withCallingHandlers(code, error = function (e) skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/Rtmp0Cl14H/file96912feb926c.rds") 5: rlang::entrace(e), message = function (cnd) {
SweepRho(SMap(dataFrame, columns, target, lib, pred, E = E, Tp = Tp, watcher$capture_plot_and_output() knn = knn, tau = tau, theta = th, exclusionRadius = exclusionRadius, if (on_message$capture) {An irrecoverable exception occurred. R is aborting now ...
embedded = embedded, validLib = validLib, noTime = noTime, ignoreNan = ignoreNan, backend = backend)$predictions)
watcher$push(cnd) 6: }FUN(X[[i]], ...) if (on_message$silence) { invokeRestart("muffleMessage")
7: }lapply(X = S, FUN = FUN, ...)
}, warning = function (cnd) 8: {doTryCatch(return(expr), name, parentenv, handler) if (getOption("warn") >= 2 || getOption("warn") < 0) {
return() 9: } watcher$capture_plot_and_output()tryCatchOne(expr, names, parentenv, handlers[[1L]]) if (on_warning$capture) { cnd <- sanitize_call(cnd)
10: watcher$push(cnd) }tryCatchList(expr, classes, parentenv, handlers) if (on_warning$silence) {
invokeRestart("muffleWarning")11: }}, error = function (cnd) tryCatch(expr, error = function(e) { call <- conditionCall(e){ if (!is.null(call)) { watcher$capture_plot_and_output() if (identical(call[[1L]], quote(doTryCatch))) cnd <- sanitize_call(cnd) call <- sys.call(-4L) dcall <- deparse(call, nlines = 1L) watcher$push(cnd) switch(on_error, continue = invokeRestart("eval_continue"), stop = invokeRestart("eval_stop"), error = NULL) prefix <- paste("Error in", dcall, ": ") LONG <- 75L}) sm <- strsplit(conditionMessage(e), "\n")[[1L]]
w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")28: if (is.na(w)) eval(call) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b")
if (w > LONG) 29: prefix <- paste0(prefix, "\n ") }eval(call) else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n")
.Internal(seterrmessage(msg[1L]))30: if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile)with_handlers({ .Internal(printDeferredWarnings()) for (expr in tle$exprs) { } ev <- withVisible(eval(expr, envir)) invisible(structure(msg, class = "try-error", condition = e)) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir)}) }
TRUE}, handlers)12:
try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
13: 31: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))doWithOneRestart(return(expr), restart)
14: FUN(X[[i]], ...)
32: 15: lapply(seq_len(cores), inner.do)withOneRestart(expr, restarts[[1L]])
16: 33: parallel::mclapply(values, worker, mc.cores = cores, mc.preschedule = TRUE)withRestartList(expr, restarts[-nr])
17: 34: doTryCatch(return(expr), name, parentenv, handler)doWithOneRestart(return(expr), restart)
18: 35: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: 36: tryCatchList(expr, classes, parentenv, handlers)
withRestartList(expr, restarts)20:
tryCatch(parallel::mclapply(values, worker, mc.cores = cores, 37: withRestarts(with_handlers({ mc.preschedule = TRUE), error = function(e) NULL) for (expr in tle$exprs) {
ev <- withVisible(eval(expr, envir))21: watcher$capture_plot_and_output()SweepApply(theta, worker, numProcess) watcher$print_value(ev$value, ev$visible, envir)
}22: TRUE}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE)unlist(SweepApply(theta, worker, numProcess))
23: 38: PredictNonlinear(dataFrame = Thrips, columns = "Thrips_imaginis", evaluate::evaluate(...) target = "Thrips_imaginis", lib = "1 73", pred = "1 73",
39: E = E, showPlot = TRUE)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 {24: if (options$error && options$include) eval(expr, envir) 0L
else 2L }, output_handler = knit_handlers(options$render, options))25:
eval(expr, envir)40: in_dir(input_dir(), expr)
41:
in_input_dir(evaluate(code, envir = env, new_device = FALSE, 26: keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, keep_message = if (is.numeric(options$message)) TRUE else options$message, withVisible(eval(expr, envir)) stop_on_error = if (is.numeric(options$error)) options$error else {
if (options$error && options$include) 27: 0LwithCallingHandlers(code, error = function (e) else 2Lrlang::entrace(e), message = function (cnd) }, output_handler = knit_handlers(options$render, options))){ watcher$capture_plot_and_output()
if (on_message$capture) {42: eng_r(options) watcher$push(cnd)
43: }block_exec(params)
if (on_message$silence) { invokeRestart("muffleMessage")44: call_block(x) }
45: }, warning = function (cnd) {process_group(group) if (getOption("warn") >= 2 || getOption("warn") < 0) {
return() }46: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { watcher$capture_plot_and_output() if (progress && is.function(pb$interrupt)) if (on_warning$capture) { pb$interrupt() cnd <- sanitize_call(cnd) watcher$push(cnd) if (is_R_CMD_build() || is_R_CMD_check()) error <<- format(e) } }) if (on_warning$silence) {
47: invokeRestart("muffleWarning") }with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), }, error = function (cnd) error = function(e) { if (progress && is.function(pb$interrupt)) { pb$interrupt() watcher$capture_plot_and_output() if (is_R_CMD_build() || is_R_CMD_check()) cnd <- sanitize_call(cnd) error <<- format(e) }), list(rlang_trace_top_env = knit_global())) watcher$push(cnd)
switch(on_error, continue = invokeRestart("eval_continue"), 48: stop = invokeRestart("eval_stop"), error = NULL)})xfun:::handle_error(with_options(withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
error = function(e) {28: if (progress && is.function(pb$interrupt)) eval(call)
pb$interrupt() if (is_R_CMD_build() || is_R_CMD_check()) 29: error <<- format(e)eval(call) }), list(rlang_trace_top_env = knit_global())), function(loc) {
setwd(wd)30: write_utf8(res, output %n% stdout())with_handlers({ paste0("\nQuitting from ", loc, if (!is.null(error)) for (expr in tle$exprs) { paste0("\n", rule(), error, "\n", rule()))}, if (labels[i] != "") sprintf(" [%s]", labels[i]), get_loc)
ev <- withVisible(eval(expr, envir)) watcher$capture_plot_and_output()49: watcher$print_value(ev$value, ev$visible, envir) }process_file(text, output) TRUE
}, handlers)50: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
31: 51: doWithOneRestart(return(expr), restart)rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(),
output_dir = getwd(), ...)
52: 32: vweave_rmarkdown(...)withOneRestart(expr, restarts[[1L]])
53: engine$weave(file, quiet = quiet, encoding = enc)
54: 33: withRestartList(expr, restarts[-nr])doTryCatch(return(expr), name, parentenv, handler)
55: 34: tryCatchOne(expr, names, parentenv, handlers[[1L]])
doWithOneRestart(return(expr), restart)56:
tryCatchList(expr, classes, parentenv, handlers)35:
withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])57:
tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir)36: output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet)withRestartList(expr, restarts) output <- find_vignette_product(name, by = "texi2pdf",
37: engine = engine)withRestarts(with_handlers({ } for (expr in tle$exprs) { ev <- withVisible(eval(expr, envir)) outputs <- c(outputs, output) watcher$capture_plot_and_output() watcher$print_value(ev$value, ev$visible, envir) }}, error = function(e) { thisOK <<- FALSE TRUE fails <<- c(fails, file)}, handlers), eval_continue = function() TRUE, eval_stop = function() FALSE) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",
file, conditionMessage(e)))})38:
evaluate::evaluate(...)58:
tools::buildVignettes(dir = "/Volumes/Builds/packages/big-sur-arm64/results/4.5/rEDM.Rcheck/vign_test/rEDM", 39: evaluate(code, envir = env, new_device = FALSE, keep_warning = if (is.numeric(options$warning)) TRUE else options$warning, skip = TRUE, ser_elibs = "/Volumes/Temp/tmp/Rtmp0Cl14H/file96912feb926c.rds") 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) 0LAn irrecoverable exception occurred. R is aborting now ...
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/Rtmp0Cl14H/file96912feb926c.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
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR