Running ‘testthat.R’ [27s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > data.table::setDTthreads(1)
  > if(require(testthat))test_check("nc")
  Loading required package: testthat
  Loading required package: nc
  re2google/re2/re2.cc:205: Error parsing '(?:(.*)[.](.*+))': bad repetition operator: *+
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 602 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-CRAN-glob.R:15:3'): RE2 capture_first_glob returns expected columns ──
  Error in `data.table::fread(f, skip = 1, col.names = c("chrom", "start", 
      "end", "count"))`: To read gz and bz2 files directly, fread() requires 'R.utils' package which cannot be found. Please install 'R.utils' using 'install.packages('R.utils')'.
  Backtrace:
      ▆
   1. └─nc::capture_first_glob(glob, data.chunk.pattern, READ = read.bedGraph) at test-CRAN-glob.R:15:2
   2.   └─nc (local) READ(file.vec[[file.i]])
   3.     └─data.table::fread(...) at test-CRAN-glob.R:8:17
  ── Error ('test-CRAN-glob.R:15:3'): ICU capture_first_glob returns expected columns ──
  Error in `data.table::fread(f, skip = 1, col.names = c("chrom", "start", 
      "end", "count"))`: To read gz and bz2 files directly, fread() requires 'R.utils' package which cannot be found. Please install 'R.utils' using 'install.packages('R.utils')'.
  Backtrace:
      ▆
   1. └─nc::capture_first_glob(glob, data.chunk.pattern, READ = read.bedGraph) at test-CRAN-glob.R:15:2
   2.   └─nc (local) READ(file.vec[[file.i]])
   3.     └─data.table::fread(...) at test-CRAN-glob.R:8:17
  ── Error ('test-CRAN-glob.R:15:3'): PCRE capture_first_glob returns expected columns ──
  Error in `data.table::fread(f, skip = 1, col.names = c("chrom", "start", 
      "end", "count"))`: To read gz and bz2 files directly, fread() requires 'R.utils' package which cannot be found. Please install 'R.utils' using 'install.packages('R.utils')'.
  Backtrace:
      ▆
   1. └─nc::capture_first_glob(glob, data.chunk.pattern, READ = read.bedGraph) at test-CRAN-glob.R:15:2
   2.   └─nc (local) READ(file.vec[[file.i]])
   3.     └─data.table::fread(...) at test-CRAN-glob.R:8:17
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 602 ]
  Error: Test failures
  Execution halted