Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(parsermd)
  > 
  > test_check("parsermd")
  [ FAIL 21 | WARN 0 | SKIP 5 | PASS 110 ]
  
  == Skipped tests ===============================================================
  * On CRAN (4)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error ('test-as_document.R:2'): ast -> document -----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_snapshot_output(...) at test-as_document.R:2:2
    2. | \-testthat::capture_output_lines(x, print = TRUE, width = NULL)
    3. |   \-testthat:::eval_with_output(code, print = print, width = width)
    4. |     +-withr::with_output_sink(path, withVisible(code))
    5. |     | \-base::force(code)
    6. |     \-base::withVisible(code)
    7. +-base::cat(...)
    8. +-parsermd::as_document(parse_rmd(system.file("minimal.Rmd", package = "parsermd")))
    9. +-parsermd:::as_document.rmd_ast(...)
   10. | \-base::unlist(purrr::map(x, ~c(as_document(.x), padding)))
   11. \-base::loadNamespace(x)
   12.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-as_tibble.R:3'): as_tibble - minimal.Rmd -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-tibble::as_tibble(ast) at test-as_tibble.R:3:2
   2. +-parsermd:::as_tibble.rmd_ast(ast)
   3. | +-tibble::as_tibble(...)
   4. | \-parsermd::rmd_node_sections(x, drop_na = FALSE)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-as_tibble.R:34'): as_tibble - hw01.Rmd -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-tibble::as_tibble(ast) at test-as_tibble.R:34:2
   2. +-parsermd:::as_tibble.rmd_ast(ast)
   3. | +-tibble::as_tibble(...)
   4. | \-parsermd::rmd_node_sections(x, drop_na = FALSE)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-as_tibble.R:74'): as_tibble - hw01-student.Rmd -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-tibble::as_tibble(ast) at test-as_tibble.R:74:2
   2. +-parsermd:::as_tibble.rmd_ast(ast)
   3. | +-tibble::as_tibble(...)
   4. | \-parsermd::rmd_node_sections(x, drop_na = FALSE)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-as_tibble.R:112'): as_tibble - empty_sections.Rmd --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-tibble::as_tibble(ast) at test-as_tibble.R:112:2
   2. +-parsermd:::as_tibble.rmd_ast(ast)
   3. | +-tibble::as_tibble(...)
   4. | \-parsermd::rmd_node_sections(x, drop_na = FALSE)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-as_tibble.R:138'): as_tibble - reverse_sections.Rmd ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-tibble::as_tibble(ast) at test-as_tibble.R:138:2
   2. +-parsermd:::as_tibble.rmd_ast(ast)
   3. | +-tibble::as_tibble(...)
   4. | \-parsermd::rmd_node_sections(x, drop_na = FALSE)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_check_template.R:3'): check output - with content ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-parsermd::rmd_select(ast, by_section(c("Exercise *", "Answer"))) at test-rmd_check_template.R:3:2
   2. +-parsermd:::rmd_select.rmd_ast(...)
   3. | \-parsermd:::rmd_select_impl(x, ...)
   4. |   +-parsermd::rmd_node_label(x)
   5. |   \-parsermd:::rmd_node_label.rmd_ast(x)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_check_template.R:14'): check output - without content ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-parsermd::rmd_select(ast, by_section(c("Exercise *", "Answer"))) at test-rmd_check_template.R:14:2
   2. +-parsermd:::rmd_select.rmd_ast(...)
   3. | \-parsermd:::rmd_select_impl(x, ...)
   4. |   +-parsermd::rmd_node_label(x)
   5. |   \-parsermd:::rmd_node_label.rmd_ast(x)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_node_sections.R:20'): Basic hierarchy ----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_identical(rmd_node_sections(ast), expect_sec) at test-rmd_node_sections.R:20:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd::rmd_node_sections(ast)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_node_sections.R:55'): Inverted hierarchy -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_identical(rmd_node_sections(ast), expect_sec) at test-rmd_node_sections.R:55:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd::rmd_node_sections(ast)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_node_sections.R:85'): Test hw01.Rmd ------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_identical(rmd_node_sections(rmd), expect_sec) at test-rmd_node_sections.R:85:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd::rmd_node_sections(rmd)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_source.R:8'): Basic sourcing -------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-parsermd::rmd_source(ast, local = TRUE) at test-rmd_source.R:8:2
   2. +-parsermd:::rmd_source.rmd_ast(ast, local = TRUE)
   3. | +-parsermd::rmd_select(x, has_type("rmd_chunk"))
   4. | \-parsermd:::rmd_select.rmd_ast(x, has_type("rmd_chunk"))
   5. |   \-parsermd:::rmd_select_impl(x, ...)
   6. |     +-parsermd::rmd_node_label(x)
   7. |     \-parsermd:::rmd_node_label.rmd_ast(x)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_source.R:35'): eval stuff ----------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-parsermd::rmd_source(ast, local = TRUE, use_eval = TRUE) at test-rmd_source.R:35:2
   2. +-parsermd:::rmd_source.rmd_ast(ast, local = TRUE, use_eval = TRUE)
   3. | +-parsermd::rmd_select(x, has_type("rmd_chunk"))
   4. | \-parsermd:::rmd_select.rmd_ast(x, has_type("rmd_chunk"))
   5. |   \-parsermd:::rmd_select_impl(x, ...)
   6. |     +-parsermd::rmd_node_label(x)
   7. |     \-parsermd:::rmd_node_label.rmd_ast(x)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_source.R:56'): function scope ------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_equal(f(), list(1, 2)) at test-rmd_source.R:56:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-parsermd (local) f()
    5. | +-parsermd::rmd_source(ast, local = TRUE) at test-rmd_source.R:52:4
    6. | \-parsermd:::rmd_source.rmd_ast(ast, local = TRUE)
    7. |   +-parsermd::rmd_select(x, has_type("rmd_chunk"))
    8. |   \-parsermd:::rmd_select.rmd_ast(x, has_type("rmd_chunk"))
    9. |     \-parsermd:::rmd_select_impl(x, ...)
   10. |       +-parsermd::rmd_node_label(x)
   11. |       \-parsermd:::rmd_node_label.rmd_ast(x)
   12. \-base::loadNamespace(x)
   13.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rmd_source.R:79'): echo ----------------------------------------
  `rmd_source(ast, local = TRUE, echo = TRUE)` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  -- Error ('test-rmd_source.R:81'): echo ----------------------------------------
  `rmd_source(ast, local = TRUE, echo = TRUE, label_comment = FALSE)` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  -- Error ('test-util_subset.R:5'): vec_grepl -----------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test-util_subset.R:5:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd:::vec_grepl(patterns, x)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-util_subset.R:19'): subset_match -------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_true(subset_match(x, c("A", "B", "C"))) at test-util_subset.R:19:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd:::subset_match(x, c("A", "B", "C"))
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-util_subset.R:37'): right_side_match ---------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_true(right_side_match(x, regex)) at test-util_subset.R:37:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd:::right_side_match(x, regex)
   5. | \-parsermd:::vec_grepl(patterns = regex, x = x)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-util_subset.R:55'): parent_match -------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test-util_subset.R:55:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd:::parent_match(secs, regex = c("A", "B", "C"))
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-util_subset.R:83'): node_subset - sections ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test-util_subset.R:83:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-parsermd (local) node_subset_wrap(secs, c("A", "B", "C"))
   5. | \-parsermd:::node_subset(...) at test-util_subset.R:78:4
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 21 | WARN 0 | SKIP 5 | PASS 110 ]
  Error: Test failures
  Execution halted