r-hyperspec / hySpc.read.txt

Import ASCII formatted data into hyperSpec
https://r-hyperspec.github.io/hySpc.read.txt/
MIT License
0 stars 1 forks source link

Review, add and improve unit tests #42

Closed GegznaV closed 2 years ago

GegznaV commented 3 years ago

Codecov

Review, fix, add and improve unit tests for these functions and their helpers:

GegznaV commented 3 years ago

In unit tests, make sure to check that the values in each hyperSpec slot (@data (non-spectra), @data$spc (spectra), @wavelength, and @label) are checked and that column names of @data and @data$spc are correct. This will let us detect discrepancies easier than just by using hash code.

GegznaV commented 3 years ago

@sangttruong, I assign this to you, as hySpc.read.txt is mentioned in your GSoC proposal. OK?

Create a separate branch for each file so that it was easier to review.

GegznaV commented 2 years ago

This is not closed yet!