Error(s) in re-building vignettes:
  ...
--- re-building ‘cusum.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
--- finished re-building ‘cusum.Rmd’

Segmentation Fault - core dumped
--- re-building ‘gscusum.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.

 *** caught segfault ***
address d52b008, cause 'memory not mapped'

Traceback:
 1: gscusum(input_outcomes = input_outcomes, failure_probability = failure_probability,     odds_multiplier = 2, limit = cusum_limit, max_num_shuffles = 1000,     quantiles = c(0, 0.05, 0.25, 0.5, 0.75, 0.95, 1))
 2: eval(expr, envir, enclos)
 3: eval(expr, envir, enclos)
 4: withVisible(eval(expr, envir, enclos))
 5: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,     error = eHandler, message = mHandler)
 6: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,     enclos)), warning = wHandler, error = eHandler, message = mHandler))
 7: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
 8: 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)
 9: evaluate::evaluate(...)
10: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),     keep_message = !isFALSE(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))
11: 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 (is.numeric(options$error)) options$error else {        if (options$error && options$include)             0L        else 2L    }, output_handler = knit_handlers(options$render, options)))
12: eng_r(options)
13: block_exec(params)
14: call_block(x)
15: process_group.block(group)
16: process_group(group)
17: 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"),             ") ")    })
18: process_file(text, output)
19: knit(input, text = text, envir = envir, quiet = quiet)
20: (if (grepl("\\.[Rr]md$", file)) knit2html else if (grepl("\\.[Rr]rst$",     file)) knit2pandoc else knit)(file, encoding = encoding,     quiet = quiet, envir = globalenv(), ...)
21: vweave(...)
22: engine$weave(file, quiet = quiet, encoding = enc)
23: doTryCatch(return(expr), name, parentenv, handler)
24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
25: tryCatchList(expr, classes, parentenv, handlers)
26: 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)))})
27: tools:::.buildOneVignette("gscusum.Rmd", "/home/ripley/R/packages/tests32/cusum.Rcheck/vign_test/cusum",     TRUE, FALSE, "gscusum", "UTF-8", "/tmp/Rtmp2nai.O/working_dir/Rtmp0saWDa/fileee1da322fb.rds")
An irrecoverable exception occurred. R is aborting now ...
SUMMARY: processing the following file failed:
  ‘gscusum.Rmd’

Error: Vignette re-building failed.
Execution halted