Running ‘unittests.R’ [3s/3s]
Running the tests in ‘tests/unittests.R’ failed.
Complete output:
  > library (testthat)
  > test_check("hyperSpec")
  Loading required package: hyperSpec
  Loading required package: lattice
  Loading required package: grid
  Loading required package: ggplot2
  Loading required package: xml2
  Package hyperSpec, version 0.100.3
  
  To get started, try
     vignette ("hyperspec")
     package?hyperSpec 
     vignette (package = "hyperSpec")
  
  If you use this package please cite it appropriately.
     citation("hyperSpec")
  will give you the correct reference.
  
  The project homepage is http://hyperspec.r-forge.r-project.org
  
  
  Saving _problems/test-attached-7.R
  Saving _problems/test-attached-7.R
  Saving _problems/test-attached-7.R
  Saving _problems/test-attached-7.R
  [ FAIL 4 | WARN 0 | SKIP 60 | PASS 328 ]
  
  ══ Skipped tests (60) ══════════════════════════════════════════════════════════
  • TODO: implement (1): 'test-attached.R:6:1'
  • empty test (4): 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-plotspc.r:3:1'
  • file import test files not installed (52): 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1',
    'test-attached.R:6:1', 'test-attached.R:6:1', 'test-attached.R:6:1'
  • no spc files with empty spectra available so far (1): 'test-attached.R:6:1'
  • no suitable test file available (1): 'test-attached.R:6:1'
  • skip (1): 'test-attached.R:6:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-attached.R:6:1'): spline interpolation ───────────────────────
  Expected `all(...)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-attached.R:6:1'): edge treatment and debuglevel ──────────────
  Expected `all(...)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  debuglevel = 0, range = 405`~`407
  ── Failure ('test-attached.R:6:1'): edge treatment and debuglevel ──────────────
  Expected `all(...)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  debuglevel = 1, range = 405`~`407
  ── Failure ('test-attached.R:6:1'): edge treatment and debuglevel ──────────────
  Expected `all(...)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  debuglevel = 2, range = 405`~`407
  
  [ FAIL 4 | WARN 0 | SKIP 60 | PASS 328 ]
  Error:
  ! Test failures.
  Execution halted