Running 'spelling.R' [0s]
  Running 'testthat.R' [25s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(lightr)
  > 
  > if (requireNamespace("testthat", quietly=TRUE)) {
  + 
  +   library(testthat)
  +   test_check("lightr")
  + 
  + }
  1 files found; importing spectra:
  == Skipped tests ===============================================================
  * On CRAN (3)
  
  == Failed tests ================================================================
  -- Failure (test_getspec.R:21:3): get_spec recursive ---------------------------
  Snapshot of `expect_message(...)` has changed:
  `old` is length 6
  `new` is length 3
  
  `class(old)`: "rspec"         "data.frame"            
  `class(new)`: "simpleMessage" "message"    "condition"
  
      names(old)              | names(new)    
  [1] "wl"                    - "message"  [1]
  [2] "BB_PF21_4"             - "call"     [2]
  [3] "OceanOptics_Linux"     - "trace"    [3]
  [4] "OceanOptics_Windows"   -               
  [5] "OceanOptics_badencode" -               
  [6] "whiteref"              -               
  
  `attr(old, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(new, 'row.names')` is absent
  
  `old$wl` is an integer vector (300, 301, 302, 303, 304, ...)
  `new$wl` is absent
  
  `old$BB_PF21_4` is a double vector (16.9794547660113, 16.9250024586282, 16.985273037142, 17.0322371031412, 17.0595371094362, ...)
  `new$BB_PF21_4` is absent
  
  `old$OceanOptics_Linux` is a double vector (126.550187219195, 125.300549740648, 127.082458112558, 128.048289305515, 128.990873845102, ...)
  `new$OceanOptics_Linux` is absent
  
  `old$OceanOptics_Windows` is a double vector (3.19963453660952, 3.42049996152937, 3.2244945534534, 3.32080284852307, 3.40755063752066, ...)
  `new$OceanOptics_Windows` is absent
  
  `old$OceanOptics_badencode` is a double vector (-6.90521421035397, -7.03490488005688, -7.65686790469605, -8.57788034155704, -9.18293448520766, ...)
  `new$OceanOptics_badencode` is absent
  
  `old$whiteref` is a double vector (98.30193350619, 98.6797174022244, 98.103908126446, 101.344102574448, 99.8690780238521, ...)
  `new$whiteref` is absent
  
  `old$message` is absent
  `new$message` is a character vector ('5 files found; importing spectra:\n')
  
  `old$call` is absent
  `new$call` is a call
  
  `old$trace` is absent
  `new$trace` is an S3 object of class <rlang_trace>, a list
  
  Run `snapshot_accept('getspec')` if this is a deliberate change
  -- Error (test_parsers.R:9:5): OceanOptics ProcSpec ----------------------------
  Error: '' does not exist in current working directory ('d:/Rcompile/CRANpkg/local/4.1/lightr.Rcheck/tests/testthat').
  Backtrace:
       x
    1. +-testthat::expect_known_hash(...) test_parsers.R:9:4
    2. | \-testthat::quasi_label(enquo(object), arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-testthat::expect_silent(...)
    5. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    6. |   +-testthat:::.capture(...)
    7. |   | +-withr::with_output_sink(...)
    8. |   | | \-base::force(code)
    9. |   | +-base::withCallingHandlers(...)
   10. |   | \-base::withVisible(code)
   11. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   12. \-lightr::lr_parse_procspec(test.file("procspec_files", "OceanOptics_Linux.ProcSpec"))
   13.   +-xml2::read_xml(clean_text)
   14.   \-xml2:::read_xml.character(clean_text)
   15.     \-xml2:::path_to_connection(x)
   16.       \-xml2:::check_path(path)
  
  [ FAIL 2 | WARN 6 | SKIP 3 | PASS 509 ]
  Error: Test failures
  Execution halted