Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(photobiology)
  > library(photobiologyInOut)
  > 
  > test_check("photobiology")
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:base':
  
      date
  
  Read 25 items
  Read 12 items
  This is colorSpec.  Version: 0.5-3.  Author: Glenn Davis [aut, cre].  Built: R 3.4.2; ; 2017-10-31 11:39:51 UTC; unix
  
  Attaching package: 'colorSpec'
  
  The following object is masked from 'package:photobiology':
  
      normalize
  
  Read 7 items
  Read 7 items
  Read 7 items
  Read 7 items
  Read 4 items
  Read 151 records
  1. Failure: single spectrum (quantum) (@test-macam.R#27) -----------------------
  as.numeric(getWhenMeasured(macam.spct), tz = "EET") not equal to as.numeric(ymd_hms("1997-05-19 17:44:58", tz = "EET"), tz = "EET").
  1/1 mismatches
  [1] 8.64e+08 - 8.64e+08 == 3600
  
  
  Read 4 items
  Read 18 items
  Read 4 items
  Read 18 items
  Read 3 items
  Read 16 items
  2. Failure: jazz_raw (@test-oo.R#84) -------------------------------------------
  as.numeric(getWhenMeasured(jaz.spct), tz = "EET") not equal to as.numeric(ymd_hms("2016-04-25 12:49:02", tz = "EET"), tz = "EET").
  1/1 mismatches
  [1] 1.46e+09 - 1.46e+09 == -3600
  
  
  Read 3 items
  Read 16 items
  Read 3 items
  Read 16 items
  3. Failure: SpectraSuite (@test-oo.R#134) --------------------------------------
  as.numeric(getWhenMeasured(ss.spct), tz = "CET") not equal to as.numeric(ymd_hms("2013-05-06 15:13:40", tz = "CET"), tz = "CET").
  1/1 mismatches
  [1] 1.37e+09 - 1.37e+09 == -3600
  
  
  Read 4 items
  Read 18 items
  Read 3 items
  Read 16 items
  4. Failure: jazz_raw-comma (@test-oo.R#195) ------------------------------------
  as.numeric(getWhenMeasured(jaz.spct), tz = "EET") not equal to as.numeric(ymd_hms("2016-04-25 12:49:02", tz = "EET"), tz = "EET").
  1/1 mismatches
  [1] 1.46e+09 - 1.46e+09 == -3600
  
  
  Read 3 items
  Read 16 items
  5. Failure: SpectraSuite-comma (@test-oo.R#225) --------------------------------
  as.numeric(getWhenMeasured(ss.spct), tz = "CET") not equal to as.numeric(ymd_hms("2013-05-06 15:13:40", tz = "CET"), tz = "CET").
  1/1 mismatches
  [1] 1.37e+09 - 1.37e+09 == -3600
  
  
  Read 4 items
  testthat results ================================================================
  OK: 304 SKIPPED: 0 FAILED: 5
  1. Failure: single spectrum (quantum) (@test-macam.R#27) 
  2. Failure: jazz_raw (@test-oo.R#84) 
  3. Failure: SpectraSuite (@test-oo.R#134) 
  4. Failure: jazz_raw-comma (@test-oo.R#195) 
  5. Failure: SpectraSuite-comma (@test-oo.R#225) 
  
  Error: testthat unit tests failed
  Execution halted