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

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

Traceback:
 1: cubature::pcubature(f = f, lowerLimit = lowerLimit, upperLimit = upperLimit,     tol = tol, ...)
 2: pc()
 3: do_benchmark(exprs, parent.frame(), exprs_order, gcDuring, progress)
 4: (function (..., times = 100L, order = c("random", "inorder",     "block"), envir = parent.frame(), progress = TRUE, gcFirst = TRUE,     gcDuring = FALSE) {    if (length(list(...)) == 0) {        stop("No expressions to benchmark.")    }    if (times <= 0L) {        stop("Argument 'times' should be positive integer.")    }    order <- match.arg(order)    exprs <- named_dots(...)    exprs_order <- make_order(exprs, times, order)    warmup <- getOption("benchr.warmup", 200000L)    if (gcFirst)         gc(FALSE)    error <- timer_error(warmup)    timings <- do_benchmark(exprs, parent.frame(), exprs_order,         gcDuring, progress)    timings <- timings - error    timings[timings < 0] <- NA_real_    if (anyNA(timings)) {        nas <- sum(is.na(timings))        if (nas == length(timings)) {            stop("All timed evaluations were either smaller than the estimated \n                 timer error or zero. The most likely cause is a low resolution clock.")        }        else {            warning(sprintf("Could not measure a positive execution time for \n                            %i evaluations.",                 nas))        }    }    structure(list(expr = exprs_order, time = timings), class = c("benchmark",         "data.frame"), row.names = c(NA_integer_, -length(timings)),         units = "s", error = error, precision = timer_precision(),         order = order, gc = gcDuring, times = times)})(hc(), hc.v(), pc(), pc.v(), cc(), cc_v(), times = 100, progress = FALSE)
 5: do.call(benchr::benchmark, args = argList)
 6: harness(f = I.2d, fv = I.2d_v, lowerLimit = rep(-1, 2), upperLimit = rep(1,     2), times = 100)
 7: eval(expr, envir, enclos)
 8: eval(expr, envir, enclos)
 9: withVisible(eval(expr, envir, enclos))
10: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,     error = eHandler, message = mHandler)
11: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,     enclos)), warning = wHandler, error = eHandler, message = mHandler))
12: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
13: 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,     output_handler = output_handler, include_timing = include_timing)
14: evaluate::evaluate(...)
15: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&         options$include) 0L else 2L, output_handler = knit_handlers(options$render,         options))
16: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),     stop_on_error = if (options$error && options$include) 0L else 2L,     output_handler = knit_handlers(options$render, options)))
17: block_exec(params)
18: call_block(x)
19: process_group.block(group)
20: process_group(group)
21: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        setwd(wd)        cat(res, sep = "\n", file = output %n% "")        message("Quitting from lines ", paste(current_lines(i),             collapse = "-"), " (", knit_concord$get("infile"),             ") ")    })
22: process_file(text, output)
23: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
24: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv(),     output_dir = getwd(), ...)
25: vweave_rmarkdown(...)
26: engine$weave(file, quiet = quiet, encoding = enc)
27: doTryCatch(return(expr), name, parentenv, handler)
28: tryCatchOne(expr, names, parentenv, handlers[[1L]])
29: tryCatchList(expr, classes, parentenv, handlers)
30: 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)))})
31: tools:::.buildOneVignette("cubature.Rmd", "/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/cubature.Rcheck/vign_test/cubature",     TRUE, FALSE, "cubature", "UTF-8", "/tmp/RtmpalW8Ma/file5f6c2e13d262.rds")
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
--- re-building ‘version2.Rmd’ using rmarkdown
Cuhre input parameters:
  ndim 3
  ncomp 1
  nvec 1
  epsrel 1e-05
  epsabs 1e-12
  flags 6
  mineval 0
  maxeval 1000000
  key 0


Iteration 1:  127 integrand evaluations so far
[1] 0.330292 +- 0.16199  	chisq 0 (0 df)

Iteration 2:  381 integrand evaluations so far
[1] 0.334551 +- 0.0726708  	chisq 0.000575398 (1 df)

Iteration 3:  635 integrand evaluations so far
[1] 0.334084 +- 0.0126583  	chisq 0.000588724 (2 df)

Iteration 4:  889 integrand evaluations so far
[1] 0.334093 +- 0.00467064  	chisq 0.000590497 (3 df)

Iteration 5:  1143 integrand evaluations so far
[1] 0.33411 +- 0.00213905  	chisq 0.00060536 (4 df)

Iteration 6:  1397 integrand evaluations so far
[1] 0.334113 +- 0.000658593  	chisq 0.000616501 (5 df)

Iteration 7:  1651 integrand evaluations so far
[1] 0.334113 +- 0.000290809  	chisq 0.000617561 (6 df)

Iteration 8:  1905 integrand evaluations so far
[1] 0.334113 +- 4.6551e-05  	chisq 0.000617624 (7 df)

Iteration 9:  2159 integrand evaluations so far
[1] 0.334113 +- 3.69574e-05  	chisq 0.000617628 (8 df)

Iteration 10:  2413 integrand evaluations so far
[1] 0.334113 +- 6.66791e-05  	chisq 0.000623039 (9 df)

Iteration 11:  2667 integrand evaluations so far
[1] 0.334113 +- 2.65953e-05  	chisq 0.000637045 (10 df)

Iteration 12:  2921 integrand evaluations so far
[1] 0.334113 +- 3.88133e-05  	chisq 0.000639548 (11 df)

Iteration 13:  3175 integrand evaluations so far
[1] 0.334113 +- 2.10511e-05  	chisq 0.000643652 (12 df)

Iteration 14:  3429 integrand evaluations so far
[1] 0.334113 +- 1.31307e-05  	chisq 0.000650985 (13 df)

Iteration 15:  3683 integrand evaluations so far
[1] 0.334113 +- 8.69938e-06  	chisq 0.000654887 (14 df)

Iteration 16:  3937 integrand evaluations so far
[1] 0.334113 +- 1.88417e-05  	chisq 0.000655651 (15 df)

Iteration 17:  4191 integrand evaluations so far
[1] 0.334113 +- 1.59906e-05  	chisq 0.000656605 (16 df)

Iteration 18:  4445 integrand evaluations so far
[1] 0.334113 +- 4.85581e-06  	chisq 0.000660554 (17 df)

Iteration 19:  4699 integrand evaluations so far
[1] 0.334113 +- 2.22627e-06  	chisq 0.000668287 (18 df)
--- finished re-building ‘version2.Rmd’

SUMMARY: processing the following file failed:
  ‘cubature.Rmd’

Error: Vignette re-building failed.
Execution halted