Skip to content

hyperSpec

Work with Hyperspectral Data, i.e. Spectra + Meta Information (Spatial, Time, Concentration, ...)

v0.100.3 · Oct 12, 2025 · GPL (>= 3)

Description

Comfortable ways to work with hyperspectral data sets. I.e. spatially or time-resolved spectra, or spectra with any other kind of information associated with each of the spectra. The spectra can be data as obtained in XRF, UV/VIS, Fluorescence, AES, NIR, IR, Raman, NMR, MS, etc. More generally, any data that is recorded over a discretized variable, e.g. absorbance = f(wavelength), stored as a vector of absorbance values for discrete wavelengths is suitable.

Downloads

1.5K

Last 30 days

3140th

1.5K

Last 90 days

1.5K

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘unittests.R’ [2s/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
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

tests

  Running ‘unittests.R’ [2s/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 pa

Reverse Dependencies (3)

imports

Dependency Network

Dependencies Reverse dependencies lattice ggplot2 xml2 testthat latticeExtra lazyeval dplyr rlang OpenSpecy ir photobiologyInOut hyperSpec

Version History

new 0.100.3 Mar 9, 2026