Running ‘test-all.R’ [2s/2s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(packrat)
  > test_check("packrat")
  
   *** caught segfault ***
  address 0x30, cause 'memory not mapped'
  
  Traceback:
   1: .Call(C_unserialize_from_yaml, string, as.named.list, handlers,     error.label, PACKAGE = "yaml")
   2: yaml::yaml.load(yaml, handlers = knit_params_handlers(evaluate = evaluate))
   3: knit_params_yaml(enc2utf8(yaml), evaluate = evaluate)
   4: knit_params(text)
   5: knitr::knit(file, output = tempfile, tangle = TRUE, encoding = encoding)
   6: eval(expr, envir = parent.frame())
   7: eval(expr, pf)
   8: eval(expr, pf)
   9: withVisible(eval(expr, pf))
  10: evalVis(expr)
  11: capture.output(result <- eval(expr, envir = parent.frame()))
  12: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  13: suppressMessages(capture.output(result <- eval(expr, envir = parent.frame())))
  14: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  15: suppressWarnings(suppressMessages(capture.output(result <- eval(expr,     envir = parent.frame()))))
  16: silent(knitr::knit(file, output = tempfile, tangle = TRUE, encoding = encoding))
  17: doTryCatch(return(expr), name, parentenv, handler)
  18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  19: tryCatchList(expr, classes, parentenv, handlers)
  20: tryCatch(silent(knitr::knit(file, output = tempfile, tangle = TRUE,     encoding = encoding)), error = function(e) {    message("Unable to tangle file '", file, "'; cannot parse dependencies")    character()})
  21: fileDependencies.Rmd(file)
  22: packrat:::fileDependencies(parameterDocPath)
  23: eval(code, test_env)
  24: eval(code, test_env)
  25: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
  26: doTryCatch(return(expr), name, parentenv, handler)
  27: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  28: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  29: doTryCatch(return(expr), name, parentenv, handler)
  30: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  31: tryCatchList(expr, classes, parentenv, handlers)
  32: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  33: test_code(desc, code, env = parent.frame())
  34: test_that("Rmd documents with parameters are analyzed", {    if (packageVersion("knitr") < "1.11")         skip("requires knitr 1.11 or greater")    parameterDocPath <- file.path("resources", "params-example.Rmd")    deps <- packrat:::fileDependencies(parameterDocPath)    expect_true("rmarkdown" %in% deps, "all Rmd docs have an rmarkdown dependency")    expect_true("shiny" %in% deps, "Rmd docs with parameters have a shiny dependency for the customization app")    expect_true("stringr" %in% deps, "dependencies in parameter expressions are extracted")})
  35: eval(code, test_env)
  36: eval(code, test_env)
  37: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
  38: doTryCatch(return(expr), name, parentenv, handler)
  39: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  40: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  41: doTryCatch(return(expr), name, parentenv, handler)
  42: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  43: tryCatchList(expr, classes, parentenv, handlers)
  44: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  45: test_code(NULL, exprs, env)
  46: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  47: force(code)
  48: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        end_context()    })
  49: FUN(X[[i]], ...)
  50: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  51: force(code)
  52: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  53: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  54: test_dir(path = test_path, reporter = reporter, env = env, filter = filter,     ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap)
  55: test_package_dir(package = package, test_path = test_path, filter = filter,     reporter = reporter, ..., stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  56: test_check("packrat")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault