Running ‘testthat.R’ [6s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(Require)
  > library(testthat)
  
  Attaching package: 'testthat'
  
  The following object is masked from 'package:Require':
  
      setup
  
  > test_check("Require")
  Saving _problems/test-00pkgSnapshot_testthat-16.R
  Saving _problems/test-01packages_testthat-36.R
  Saving _problems/test-02extract_testthat-61.R
  Saving _problems/test-04other_testthat-19.R
  Saving _problems/test-11misc_testthat-12.R
  [ FAIL 5 | WARN 0 | SKIP 8 | PASS 37 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-04other_testthat.R:31:3',
    'test-05packagesLong_testthat.R:3:3', 'test-06pkgDep_testthat.R:3:3',
    'test-12offlineMode_testthat.R:4:3'
  • empty test (4): 'test-07pkgSnapshotLong_testthat.R:1:1',
    'test-08modules_testthat.R:1:1', 'test-09pkgSnapshotLong_testthat.R:1:1',
    'test-10DifferentPkgs_testthat.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-00pkgSnapshot_testthat.R:16:3'): test 1 ────────────────────────
  Error in ``[.data.table`(pkgDT, , `:=`(keep44, if (any(hasInequality)) ifelse(hasInequality, .I, NA) else .I), by = "Package")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(Require(c("rlang"), require = FALSE, quiet = quiet)) at test-00pkgSnapshot_testthat.R:16:3
   2. │ └─base::withCallingHandlers(...)
   3. └─Require::Require(c("rlang"), require = FALSE, quiet = quiet)
   4.   └─Require:::confirmEqualsDontViolateInequalitiesThenTrim(pkgDT)
   5.     ├─...[]
   6.     └─data.table:::`[.data.table`(...)
  ── Error ('test-01packages_testthat.R:32:3'): test 1 ───────────────────────────
  Error in ``[.data.table`(pkgDT, , `:=`(keep44, if (any(hasInequality)) ifelse(hasInequality, .I, NA) else .I), by = "Package")`: attempt access index 10/10 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─testthat::capture_warnings(...) at test-01packages_testthat.R:32:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─testthat::capture_messages(...)
   4. │ └─base::withCallingHandlers(...)
   5. └─Require::Require(...)
   6.   └─Require:::confirmEqualsDontViolateInequalitiesThenTrim(pkgDT)
   7.     ├─...[]
   8.     └─data.table:::`[.data.table`(...)
  ── Error ('test-02extract_testthat.R:61:3'): test 1 ────────────────────────────
  Error in ``[.data.table`(pkgDT, hasSubFolder %in% TRUE, `:=`(GitSubFolder, strsplit(RepoWBranch, split = "/|@")[[1]][2]), by = seq(sum(hasSubFolder, na.rm = TRUE)))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─Require::parseGitHub("r-forge/mumin/pkg") at test-02extract_testthat.R:61:3
   2.   ├─...[]
   3.   └─data.table:::`[.data.table`(...)
  ── Failure ('test-04other_testthat.R:18:3'): test 4 ────────────────────────────
  Expected `any(grepl("could not be installed", warns))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-11misc_testthat.R:12:3'): test 11 ────────────────────────────
  Expected `err$message` to match regexp "Did you spell the GitHub.com repository, package and or branch/gitRefs correctly?".
  Actual text:
  x | attempt access index 13/13 in VECTOR_ELT
  
  [ FAIL 5 | WARN 0 | SKIP 8 | PASS 37 ]
  Error:
  ! Test failures.
  Execution halted