Running ‘testthat.R’ [4s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("origin")
  Loading required package: origin
  Error : RStudio not running
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 79 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-originize_dir.R:44'): solve_local_duplicates triggers the expected messages ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(name)`: there is no package called 'purrr'
  Backtrace:
       ▆
    1. └─origin::originize_dir(...) at test-originize_dir.R:44:2
    2.   └─origin:::originize_wrap(...)
    3.     ├─stats::setNames(...)
    4.     └─base::lapply(X = pkgs, FUN = get_exported_functions)
    5.       └─origin (local) FUN(X[[i]], ...)
    6.         └─base::getNamespaceExports(pkg)
    7.           └─base::asNamespace(ns)
    8.             └─base::getNamespace(ns)
    9.               └─base::loadNamespace(name)
   10.                 └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.                   └─base (local) withOneRestart(expr, restarts[[1L]])
   12.                     └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-originize_file.R:29'): originize file ──────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(name)`: there is no package called 'purrr'
  Backtrace:
       ▆
    1. └─origin::originize_file(...) at test-originize_file.R:29:2
    2.   └─origin:::originize_wrap(...)
    3.     ├─stats::setNames(...)
    4.     └─base::lapply(X = pkgs, FUN = get_exported_functions)
    5.       └─origin (local) FUN(X[[i]], ...)
    6.         └─base::getNamespaceExports(pkg)
    7.           └─base::asNamespace(ns)
    8.             └─base::getNamespace(ns)
    9.               └─base::loadNamespace(name)
   10.                 └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.                   └─base (local) withOneRestart(expr, restarts[[1L]])
   12.                     └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-originize_text.R:18'): Highlighting of plain text ──────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(name)`: there is no package called 'purrr'
  Backtrace:
       ▆
    1. └─origin:::originize_text(...) at test-originize_text.R:18:2
    2.   └─origin:::originize_wrap(...)
    3.     ├─stats::setNames(...)
    4.     └─base::lapply(X = pkgs, FUN = get_exported_functions)
    5.       └─origin (local) FUN(X[[i]], ...)
    6.         └─base::getNamespaceExports(pkg)
    7.           └─base::asNamespace(ns)
    8.             └─base::getNamespace(ns)
    9.               └─base::loadNamespace(name)
   10.                 └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.                   └─base (local) withOneRestart(expr, restarts[[1L]])
   12.                     └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 79 ]
  Error: Test failures
  Execution halted