Running ‘testthat.R’ [14s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pds3)
  > 
  > test_check("pds3")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 209 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_files.R:7:3): mv10110413_6000000_001_rr.lbl ─────────────────────
  Error in `value[[3L]](cond)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─pds3::pds3_read(test.file, assume_complete = T) at test_files.R:7:2
   2.   ├─pds3:::reduce(util$parser$parse(dat$label, util$lexer))
   3.   └─util$parser$parse(dat$label, util$lexer)
   4.     └─base::tryCatch(...)
   5.       └─base tryCatchList(expr, classes, parentenv, handlers)
   6.         └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.           └─value[[3L]](cond)
  ── Error (test_files.R:21:3): ESP_011707_1440_COLOR.LBL ────────────────────────
  Error in `value[[3L]](cond)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─pds3::pds3_read(test.file, assume_complete = T) at test_files.R:21:2
   2.   ├─pds3:::reduce(util$parser$parse(dat$label, util$lexer))
   3.   └─util$parser$parse(dat$label, util$lexer)
   4.     └─base::tryCatch(...)
   5.       └─base tryCatchList(expr, classes, parentenv, handlers)
   6.         └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.           └─value[[3L]](cond)
  ── Error (test_files.R:29:3): PSP_010737_2050_COLOR.LBL ────────────────────────
  Error in `value[[3L]](cond)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─pds3::pds3_read(test.file, assume_complete = T) at test_files.R:29:2
   2.   ├─pds3:::reduce(util$parser$parse(dat$label, util$lexer))
   3.   └─util$parser$parse(dat$label, util$lexer)
   4.     └─base::tryCatch(...)
   5.       └─base tryCatchList(expr, classes, parentenv, handlers)
   6.         └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.           └─value[[3L]](cond)
  ── Error (test_parser.R:42:3): List Parser w/ units ────────────────────────────
  Error in `value[[3L]](cond)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─parser$parse(string, lexer) at test_parser.R:42:2
   2.   └─base::tryCatch(...)
   3.     └─base tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 209 ]
  Error: Test failures
  Execution halted