Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(hms)
  > 
  > test_check("hms")
  -- 1. Failure: coercion in (@test-coercion.R#6)  -------------------------------
  as.numeric(x) not equal to as.numeric(y).
  1/1 mismatches
  [1] 41696 - 45296 == -3600
  
  -- 2. Failure: parse_hms (@test-parse.R#4)  ------------------------------------
  parse_hms("12:34:56") not equal to hms(56, 34, 12).
  Mean relative difference: 0.08633922
  
  -- 3. Failure: parse_hms (@test-parse.R#5)  ------------------------------------
  parse_hms("12:34:56.789") not equal to hms(56.789, 34, 12).
  Mean relative difference: 0.08633758
  
  -- 4. Failure: parse_hms (@test-parse.R#7)  ------------------------------------
  parse_hms(c("12:34:56", NA)) not equal to as.hms(c(hms(56, 34, 12), hms(NA))).
  Mean relative difference: 0.08633922
  
  -- 5. Failure: parse_hm (@test-parse.R#11)  ------------------------------------
  parse_hm("12:34") not equal to hms(0, 34, 12).
  Mean relative difference: 0.08645533
  
  -- 6. Failure: parse_hm (@test-parse.R#13)  ------------------------------------
  parse_hm(c("12:34", NA)) not equal to as.hms(c(hms(0, 34, 12), hms(NA))).
  Mean relative difference: 0.08645533
  
  -- 7. Failure: round_hms (@test-round.R#4)  ------------------------------------
  round_hms(parse_hms("12:34:56"), 5) not equal to hms(55, 34, 12).
  Mean relative difference: 0.08634129
  
  -- 8. Failure: round_hms (@test-round.R#5)  ------------------------------------
  round_hms(parse_hms("12:34:56"), 60) not equal to hms(0, 35, 12).
  Mean relative difference: 0.08633094
  
  -- 9. Failure: round_hms (@test-round.R#8)  ------------------------------------
  round_hms(parse_hms(c("12:34:56", NA)), 5) not equal to as.hms(c(hms(55, 34, 12), hms(NA))).
  Mean relative difference: 0.08634129
  
  -- 10. Failure: trunc_hms (@test-round.R#12)  ----------------------------------
  trunc_hms(parse_hms("12:34:56"), 5) not equal to hms(55, 34, 12).
  Mean relative difference: 0.08634129
  
  -- 11. Failure: trunc_hms (@test-round.R#13)  ----------------------------------
  trunc_hms(parse_hms("12:34:56"), 60) not equal to hms(0, 34, 12).
  Mean relative difference: 0.08645533
  
  -- 12. Failure: trunc_hms (@test-round.R#16)  ----------------------------------
  trunc_hms(parse_hms(c("12:34:56", NA)), 5) not equal to as.hms(c(hms(55, 34, 12), hms(NA))).
  Mean relative difference: 0.08634129
  
  == testthat results  ===========================================================
  OK: 130 SKIPPED: 0 FAILED: 12
  1. Failure: coercion in (@test-coercion.R#6) 
  2. Failure: parse_hms (@test-parse.R#4) 
  3. Failure: parse_hms (@test-parse.R#5) 
  4. Failure: parse_hms (@test-parse.R#7) 
  5. Failure: parse_hm (@test-parse.R#11) 
  6. Failure: parse_hm (@test-parse.R#13) 
  7. Failure: round_hms (@test-round.R#4) 
  8. Failure: round_hms (@test-round.R#5) 
  9. Failure: round_hms (@test-round.R#8) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted