Running 'spelling.R' [0s]
  Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(lightr) # nolint
  > 
  > if (requireNamespace("testthat", quietly = TRUE)) {
  + 
  +   library(testthat)
  +   test_check("lightr")
  + 
  + }
  1 files found; importing spectra:
  1 files found; importing spectra:
  2 files found; importing spectra:
  2 files found; importing spectra:
  1 files found; importing spectra:
  1 files found; importing spectra:
  1 files found; importing spectra:
  [ FAIL 5 | WARN 25 | SKIP 4 | PASS 369 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test_metadata.R:3:3', 'test_metadata.R:19:3',
    'test_parsers.R:6:3'
  • photobiologyInOut cannot be loaded (1):
    'test_compare_photobiologyInOut.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_compare_official.R:13:3'): compare procspec & spectrasuite ───
  `specs` (`actual`) not equal to `specs_spectrasuite` (`expected`).
  
  `actual` is NULL
  `expected` is an S3 object of class <rspec/data.frame>, a list
  ── Failure ('test_convert.R:52:3'): Convert recursive ──────────────────────────
  tools::file_path_sans_ext(input_files) (`actual`) and tools::file_path_sans_ext(output_data_files) (`expected`) don't have the same values.
  * Only in `expected`: "D:\\temp\\RtmpKYzZPr/test_convert/procspec_files/OceanOptics_Linux", "D:\\temp\\RtmpKYzZPr/test_convert/procspec_files/OceanOptics_Windows", "D:\\temp\\RtmpKYzZPr/test_convert/procspec_files/OceanOptics_badencode", "D:\\temp\\RtmpKYzZPr/test_convert/procspec_files/whiteref"
  
  ── Error ('test_dispatch.R:62:5'): Similar output for all parsers ──────────────
  Error in `read_xml.raw(charToRaw(enc2utf8(x)), "UTF-8", ..., as_html = as_html, 
      options = options)`: Opening and ending tag mismatch: currencySymbol line 7459 and default [76]
  Backtrace:
       ▆
    1. └─base::lapply(...) at test_dispatch.R:61:3
    2.   └─lightr (local) FUN(X[[i]], ...)
    3.     ├─testthat::expect_silent(...) at test_dispatch.R:62:5
    4.     │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    5.     │   ├─testthat (local) .capture(...)
    6.     │   │ ├─withr::with_output_sink(...)
    7.     │   │ │ └─base::force(code)
    8.     │   │ ├─base::withCallingHandlers(...)
    9.     │   │ └─base::withVisible(code)
   10.     │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11.     └─lightr:::dispatch_parser(test.file(file), sep = ",", specnum = 1)
   12.       └─lightr::lr_parse_procspec(filename)
   13.         ├─xml2::read_xml(clean_text)
   14.         └─xml2:::read_xml.character(clean_text)
   15.           └─xml2:::read_xml.raw(...)
  ── Failure ('test_getspec.R:23:3'): get_spec recursive ─────────────────────────
  Snapshot of `lr_get_spec(test.file(), ext = "ProcSpec", subdir = TRUE)` has changed:
  `old` is an S3 object of class <rspec/data.frame>, a list
  `new` is NULL
  
  * Run `testthat::snapshot_accept('getspec')` to accept the change.
  * Run `testthat::snapshot_review('getspec')` to interactively review the change.
  ── Failure ('test_getspec.R:44:3'): get_spec interpolate ───────────────────────
  `expect_message(...)` did not throw the expected error.
  
  [ FAIL 5 | WARN 25 | SKIP 4 | PASS 369 ]
  Error: Test failures
  Execution halted