##############################################################################
##############################################################################
###
### Running command:
###
### /home/biocbuild/bbs-3.23-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data StatescopeR
###
##############################################################################
##############################################################################
* checking for file ‘StatescopeR/DESCRIPTION’ ... OK
* preparing ‘StatescopeR’:
* checking DESCRIPTION meta-information ... OK
* installing the package (it is needed to build vignettes)
* creating vignettes ... ERROR
--- re-building ‘StatescopeR.Rmd’ using rmarkdown
*** caught segfault ***
address 0xffffffffed0a7180, cause 'memory not mapped'
Traceback:
1: .Call2("C_h5mread", filepath, name, starts, counts, noreduce, as.vector, as.integer, as.sparse, method, use.H5Dread_chunk, PACKAGE = "h5mread")
2: h5mread(filepath, name, starts = start, counts = count, as.vector = TRUE, as.integer = as.integer)
3: read_h5sparse_component(filepath, group, "indptr")
4: .read_h5sparse_indptr(filepath, group)
5: H5SparseMatrixSeed(filepath = fpath, group = name, dim = details$shape, sparse.layout = tolower(details$layout))
6: DelayedArray(H5SparseMatrixSeed(filepath = fpath, group = name, dim = details$shape, sparse.layout = tolower(details$layout)))
7: meth(path, metadata = metadata, ...)
8: readObject(path, metadata = metadata, scRNAseq.realize.assays = scRNAseq.realize.assays, scRNAseq.realize.reduced.dims = scRNAseq.realize.reduced.dims, ...)
9: FUN(path, ...)
10: altReadObject(file.path(path, "assays", y - 1L), ...)
11: readSummarizedExperiment(path, metadata = metadata, ...)
12: readRangedSummarizedExperiment(path, metadata, ...)
13: meth(path, metadata = metadata, ...)
14: readObject(path, metadata = metadata, scRNAseq.realize.assays = scRNAseq.realize.assays, scRNAseq.realize.reduced.dims = scRNAseq.realize.reduced.dims, ...)
15: FUN(path, ...)
16: altReadObject(obj_path, scRNAseq.realize.assays = realize.assays, scRNAseq.realize.reduced.dims = realize.reduced.dims, ...)
17: fetchDataset("segerstolpe-pancreas-2016", "2023-12-19", realize.assays = TRUE)
18: SegerstolpePancreasData()
19: eval(expr, envir)
20: eval(expr, envir)
21: withVisible(eval(expr, envir))
22: 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)})
23: eval(call)
24: eval(call)
25: 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)
26: doWithOneRestart(return(expr), restart)
27: withOneRestart(expr, restarts[[1L]])
28: withRestartList(expr, restarts[-nr])
29: doWithOneRestart(return(expr), restart)
30: withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
31: withRestartList(expr, restarts)
32: 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)
33: evaluate::evaluate(...)
34: 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))
35: in_dir(input_dir(), expr)
36: 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)))
37: eng_r(options)
38: block_exec(params)
39: call_block(x)
40: process_group(group)
41: 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) })
42: 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()))
43: 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)
44: process_file(text, output)
45: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
46: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(), output_dir = getwd(), ...)
47: vweave_rmarkdown(...)
48: engine$weave(file, quiet = quiet, encoding = enc)
49: doTryCatch(return(expr), name, parentenv, handler)
50: tryCatchOne(expr, names, parentenv, handlers[[1L]])
51: tryCatchList(expr, classes, parentenv, handlers)
52: 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)))})
53: tools::buildVignettes(dir = ".", tangle = TRUE)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault (core dumped)