CRAN Package Check Results for Package lightr

Last updated on 2024-10-16 01:48:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.1 4.41 60.12 64.53 OK
r-devel-linux-x86_64-debian-gcc 1.7.1 3.26 39.66 42.92 ERROR
r-devel-linux-x86_64-fedora-clang 1.7.1 102.72 OK
r-devel-linux-x86_64-fedora-gcc 1.7.1 111.49 OK
r-devel-windows-x86_64 1.7.1 6.00 84.00 90.00 ERROR
r-patched-linux-x86_64 1.7.1 4.18 57.51 61.69 OK
r-release-linux-x86_64 1.7.1 4.53 57.17 61.70 OK
r-release-macos-arm64 1.7.1 43.00 OK
r-release-macos-x86_64 1.7.1 69.00 OK
r-release-windows-x86_64 1.7.1 6.00 86.00 92.00 OK
r-oldrel-macos-arm64 1.7.1 51.00 OK
r-oldrel-macos-x86_64 1.7.1 113.00 OK
r-oldrel-windows-x86_64 1.7.1 7.00 95.00 102.00 OK

Check Details

Version: 1.7.1
Check: examples
Result: ERROR Running examples in ‘lightr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: lr_parse_procspec > ### Title: Parse OceanInsight ProcSpec file > ### Aliases: lr_parse_procspec > > ### ** Examples > > res <- lr_parse_procspec(system.file("testdata", "procspec_files", + "OceanOptics_Linux.ProcSpec", + package = "lightr")) Error in read_xml.raw(charToRaw(enc2utf8(x)), "UTF-8", ..., as_html = as_html, : Opening and ending tag mismatch: infinity line 7471 and default [76] Calls: lr_parse_procspec -> read_xml -> read_xml.character -> read_xml.raw Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [8s/10s] 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`: "/tmp/RtmpIoedVr/test_convert/procspec_files/OceanOptics_Linux", "/tmp/RtmpIoedVr/test_convert/procspec_files/OceanOptics_Windows", "/tmp/RtmpIoedVr/test_convert/procspec_files/OceanOptics_badencode", "/tmp/RtmpIoedVr/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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘batch_import.Rmd’ using rmarkdown --- finished re-building ‘batch_import.Rmd’ --- re-building ‘renormalise.Rmd’ using rmarkdown Quitting from lines 55-60 [unnamed-chunk-2] (renormalise.Rmd) Error: processing vignette 'renormalise.Rmd' failed with diagnostics: Opening and ending tag mismatch: infinity line 7471 and default [76] --- failed re-building ‘renormalise.Rmd’ --- re-building ‘true_example.Rmd’ using rmarkdown Quitting from lines 58-61 [unnamed-chunk-4] (true_example.Rmd) Error: processing vignette 'true_example.Rmd' failed with diagnostics: need finite 'xlim' values --- failed re-building ‘true_example.Rmd’ SUMMARY: processing the following files failed: ‘renormalise.Rmd’ ‘true_example.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.1
Check: examples
Result: ERROR Running examples in 'lightr-Ex.R' failed The error most likely occurred in: > ### Name: lr_parse_procspec > ### Title: Parse OceanInsight ProcSpec file > ### Aliases: lr_parse_procspec > > ### ** Examples > > res <- lr_parse_procspec(system.file("testdata", "procspec_files", + "OceanOptics_Linux.ProcSpec", + package = "lightr")) Error in read_xml.raw(charToRaw(enc2utf8(x)), "UTF-8", ..., as_html = as_html, : Opening and ending tag mismatch: infinity line 7471 and default [76] Calls: lr_parse_procspec -> read_xml -> read_xml.character -> read_xml.raw Execution halted Flavor: r-devel-windows-x86_64

Version: 1.7.1
Check: tests
Result: ERROR 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\\Rtmp4KuvCA/test_convert/procspec_files/OceanOptics_Linux", "D:\\temp\\Rtmp4KuvCA/test_convert/procspec_files/OceanOptics_Windows", "D:\\temp\\Rtmp4KuvCA/test_convert/procspec_files/OceanOptics_badencode", "D:\\temp\\Rtmp4KuvCA/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 Flavor: r-devel-windows-x86_64

Version: 1.7.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'batch_import.Rmd' using rmarkdown --- finished re-building 'batch_import.Rmd' --- re-building 'renormalise.Rmd' using rmarkdown Quitting from lines 55-60 [unnamed-chunk-2] (renormalise.Rmd) Error: processing vignette 'renormalise.Rmd' failed with diagnostics: Opening and ending tag mismatch: infinity line 7471 and default [76] --- failed re-building 'renormalise.Rmd' --- re-building 'true_example.Rmd' using rmarkdown Quitting from lines 58-61 [unnamed-chunk-4] (true_example.Rmd) Error: processing vignette 'true_example.Rmd' failed with diagnostics: need finite 'xlim' values --- failed re-building 'true_example.Rmd' SUMMARY: processing the following files failed: 'renormalise.Rmd' 'true_example.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64