Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pacs)
  > 
  > test_check("pacs")
  == Failed tests ================================================================
  -- Error (test-base.R:74:5): pacs::pac_deps_timemachine ------------------------
  Error: could not find function "gregexec"
  Backtrace:
       x
    1. +-testthat::expect_true(...) test-base.R:74:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-pacs::pac_deps_timemachine("memoise", "0.2.1")
    5.   \-pacs::pac_health(pac, version = version)
    6.     \-pacs::pac_lifeduration(pac, version = version, at = at)
    7.       \-pacs::pac_timemachine(pac)
    8.         +-pacs:::pac_archived(pac)
    9.         | +-base::withVisible(eval(mc, parent.frame()))
   10.         | \-base::eval(mc, parent.frame())
   11.         |   \-base::eval(mc, parent.frame())
   12.         \-(function (pac) ...
   13.           \-base::regmatches(rrr[[1]], gregexec(">([^<>]+)<", rrr[[1]]))
  -- Error (test-base.R:91:5): pac_timemachine -----------------------------------
  Error: could not find function "gregexec"
  Backtrace:
       x
    1. +-testthat::expect_true(...) test-base.R:91:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-pacs::pac_timemachine("memoise", at = as.Date("2017-02-02"))
    5.   +-pacs:::pac_archived(pac)
    6.   | +-base::withVisible(eval(mc, parent.frame()))
    7.   | \-base::eval(mc, parent.frame())
    8.   |   \-base::eval(mc, parent.frame())
    9.   \-(function (pac) ...
   10.     \-base::regmatches(rrr[[1]], gregexec(">([^<>]+)<", rrr[[1]]))
  -- Error (test-base.R:96:5): pacs_timemachine ----------------------------------
  Error: could not find function "gregexec"
  Backtrace:
       x
    1. +-testthat::expect_identical(...) test-base.R:96:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-base::vapply(...)
    5. \-pacs::pacs_timemachine(...)
    6.   +-stats::setNames(...)
    7.   \-base::lapply(...)
    8.     \-pacs:::FUN(X[[i]], ...)
    9.       \-pacs::pac_timemachine(pac, at, from, to)
   10.         +-pacs:::pac_archived(pac)
   11.         | +-base::withVisible(eval(mc, parent.frame()))
   12.         | \-base::eval(mc, parent.frame())
   13.         |   \-base::eval(mc, parent.frame())
   14.         \-(function (pac) ...
   15.           \-base::regmatches(rrr[[1]], gregexec(">([^<>]+)<", rrr[[1]]))
  -- Error (test-base.R:115:5): pac_lifeduration ---------------------------------
  Error: could not find function "gregexec"
  Backtrace:
       x
    1. +-testthat::expect_true(...) test-base.R:115:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-pacs::pac_lifeduration("dplyr", version = "0.8.0")
    5.   \-pacs::pac_timemachine(pac)
    6.     +-pacs:::pac_archived(pac)
    7.     | +-base::withVisible(eval(mc, parent.frame()))
    8.     | \-base::eval(mc, parent.frame())
    9.     |   \-base::eval(mc, parent.frame())
   10.     \-(function (pac) ...
   11.       \-base::regmatches(rrr[[1]], gregexec(">([^<>]+)<", rrr[[1]]))
  -- Error (test-base.R:124:5): pac_health ---------------------------------------
  Error: could not find function "gregexec"
  Backtrace:
       x
    1. +-testthat::expect_true(isFALSE(pac_health("dplyr", version = "0.8.0"))) test-base.R:124:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-base::isFALSE(pac_health("dplyr", version = "0.8.0"))
    5. \-pacs::pac_health("dplyr", version = "0.8.0")
    6.   \-pacs::pac_lifeduration(pac, version = version, at = at)
    7.     \-pacs::pac_timemachine(pac)
    8.       +-pacs:::pac_archived(pac)
    9.       | +-base::withVisible(eval(mc, parent.frame()))
   10.       | \-base::eval(mc, parent.frame())
   11.       |   \-base::eval(mc, parent.frame())
   12.       \-(function (pac) ...
   13.         \-base::regmatches(rrr[[1]], gregexec(">([^<>]+)<", rrr[[1]]))
  -- Error (test-base.R:129:5): pacs_health --------------------------------------
  Error: could not find function "gregexec"
  Backtrace:
       x
    1. +-testthat::expect_equal(...) test-base.R:129:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-pacs::pacs_health(...)
    5.   +-stats::setNames(...)
    6.   \-base::lapply(...)
    7.     \-pacs:::FUN(X[[i]], ...)
    8.       \-pacs::pac_health(pacs[x], version = versions[x], at = at)
    9.         \-pacs::pac_lifeduration(pac, version = version, at = at)
   10.           \-pacs::pac_timemachine(pac)
   11.             +-pacs:::pac_archived(pac)
   12.             | +-base::withVisible(eval(mc, parent.frame()))
   13.             | \-base::eval(mc, parent.frame())
   14.             |   \-base::eval(mc, parent.frame())
   15.             \-(function (pac) ...
   16.               \-base::regmatches(rrr[[1]], gregexec(">([^<>]+)<", rrr[[1]]))
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 35 ]
  Error: Test failures
  Execution halted