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

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

collapse 1.2.0, see ?`collapse-package` or ?`collapse-documentation`

Attaching package: 'collapse'

The following object is masked from 'package:stats':

    D

Warning in fNobs.grouped_df(., "replace_fill") :
  NAs introduced by coercion to integer range
Panel-lag computed without timevar: Assuming ordered data
--- finished re-building ‘collapse_and_dplyr.Rmd’

--- re-building ‘collapse_and_plm.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.

Attaching package: 'plm'

The following object is masked from 'package:data.table':

    between

collapse 1.2.0, see ?`collapse-package` or ?`collapse-documentation`

Attaching package: 'collapse'

The following object is masked from 'package:stats':

    D

Warning in FUN(X[[i]], ...) : NaNs produced
--- finished re-building ‘collapse_and_plm.Rmd’

Segmentation Fault - core dumped
--- re-building ‘collapse_intro.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Loading required package: MASS
Loading required package: strucchange
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: sandwich
Loading required package: urca
Loading required package: lmtest

Attaching package: 'dplyr'

The following object is masked from 'package:MASS':

    select

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

collapse 1.2.0, see ?`collapse-package` or ?`collapse-documentation`

Attaching package: 'collapse'

The following object is masked from 'package:vars':

    B

The following object is masked from 'package:zoo':

    is.regular

The following object is masked from 'package:stats':

    D


Attaching package: 'data.table'

The following objects are masked from 'package:dplyr':

    between, first, last

Warning in FUN(X[[i]], ...) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in lapply(unclass(wlddev)[9:12], log10) : NaNs produced
Warning in lapply(unclass(wlddev)[9:12], log10) : NaNs produced
Warning in lapply(unclass(wlddev)[9:12], log10) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in lapply(unclass(wlddev)[9:12], log10) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in lapply(unclass(wlddev)[9:12], log10) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in unused_arg_action(match.call(), ...) :
  Unused argument (w = w) passed to fmin.data.frame
Warning in unused_arg_action(match.call(), ...) :
  Unused argument (w = w) passed to fmax.data.frame
Warning in fdiff.default(x, n, diff, g, t, fill, FALSE, rho, stubs, ...) :
  abs(n * diff) exceeds average group-size (5). This could also be a result of unused factor levels. See #25.

 *** caught segfault ***
address 6a618e28, cause 'memory not mapped'

Traceback:
 1: fdiff.default(x, n, diff, g, t, fill, FALSE, rho, stubs, ...)
 2: D.default(y, 3, 2, g, t)
 3: D(y, 3, 2, g, t)
 4: doTryCatch(return(expr), name, parentenv, handler)
 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6: tryCatchList(expr, classes, parentenv, handlers)
 7: tryCatch(D(y, 3, 2, g, t), error = function(e) e)
 8: eval(expr, envir, enclos)
 9: eval(expr, envir, enclos)
10: withVisible(eval(expr, envir, enclos))
11: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,     error = eHandler, message = mHandler)
12: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,     enclos)), warning = wHandler, error = eHandler, message = mHandler))
13: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
14: 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)
15: evaluate::evaluate(...)
16: 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: 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)))
18: block_exec(params)
19: call_block(x)
20: process_group.block(group)
21: process_group(group)
22: 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"),             ") ")    })
23: process_file(text, output)
24: knit(input, text = text, envir = envir, quiet = quiet)
25: knit2html(..., force_v1 = TRUE)
26: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$",     file)) knit2pandoc else knit)(file, encoding = encoding,     quiet = quiet, envir = globalenv(), ...)
27: vweave(...)
28: engine$weave(file, quiet = quiet, encoding = enc)
29: doTryCatch(return(expr), name, parentenv, handler)
30: tryCatchOne(expr, names, parentenv, handlers[[1L]])
31: tryCatchList(expr, classes, parentenv, handlers)
32: 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)))})
33: tools:::.buildOneVignette("collapse_intro.Rmd", "/home/ripley/R/packages/tests32/collapse.Rcheck/vign_test/collapse",     TRUE, FALSE, "collapse_intro", "UTF-8", "/tmp/Rtmps2aGUx/working_dir/RtmpOlaaFx/file2ef8b0d1a44.rds")
An irrecoverable exception occurred. R is aborting now ...
SUMMARY: processing the following file failed:
  ‘collapse_intro.Rmd’

Error: Vignette re-building failed.
Execution halted