NEWS.md
hyperSpec team gratefully acknowledges support from the Google Summer of Code program, which sponsored student Erick Oduniyi during summer 2020. Erick and the team carried out a significant overhaul of hyperSpec which led to this major release.NEWS.md (this file) added so that users can readily see changes that may affect the use of the package.pkgdown sites (https://r-hyperspec.github.io/).faux_cell and function generate_faux_cell() replace chondro dataset (#125, #156, #180, #229).hyperSpec were spun out into their own packages for ease of maintenance. — ELABORATE —
chondro was moved to package hySpc.chondro (https://r-hyperspec.github.io/hySpc.chondro/).qplotspc(), qplotmap(), qplotc(), qplotmixmap(), legendright(), qmixtile(), normalize.colrange(), normalize.range(), normalize.null(), normalize.minmax(), qmixlegend(), colmix.rgb() were deprecated due analogous functionality in package hySpc.ggplot2 (https://r-hyperspec.github.io/hySpc.ggplot2/).read.ENVI(), read.ENVI.HySpex(), read.ENVI.Nicolet() were deprecated due to analogous functionality in package hySpc.read.ENVI (https://r-hyperspec.github.io/hySpc.read.ENVI/).read.spc(), read.spc.Kaiser(), read.spc.KaiserMap(), read.spc.KaiserLowHigh() were deprecated due to analogous functionality in package hySpc.read.spc (https://r-hyperspec.github.io/hySpc.read.spc/).read.spe(), spe.showcalpoints() were deprecated due to analogous functionality in package hySpc.read.spe (https://r-hyperspec.github.io/hySpc.read.spe/).read.mat.Cytospec(), read.mat.Witec() were deprecated due to analogous functionality in package hySpc.read.mat (https://r-hyperspec.github.io/hySpc.read.mat/).read.jdx() was deprecated due to analogous functionality in package hySpc.read.jdx (https://r-hyperspec.github.io/hySpc.read.jdx/).read.asc.Andor(), read.asc.PerkinElmer(), read.txt.Horiba(), read.txt.Horiba.xy(), read.txt.Horiba.t(), read.txt.long(), read.txt.Renishaw(), read.zip.Renishaw(), read.txt.Shimadzu(), read.txt.wide(), read.txt.Witec(), read.txt.Witec.Graph(), read.dat.Witec(), wc(), count_lines() were deprecated due analogous functionality in package hySpc.read.txt (https://r-hyperspec.github.io/hySpc.read.txt/).| Deprecated function | New (replacement) function | Related issues |
|---|---|---|
.fileio.optional() |
.spc_io_postprocess_optional() |
#208, #302 |
.fix_spc_colnames() |
.spc_fix_colnames() |
#208, #301 |
alois.palette() |
palette_alois() |
#208, #299, @sangttruong |
guess.wavelength() |
extract_numbers() |
#208, #309 |
matlab.dark.palette() |
palette_matlab_dark() |
#299, #299, @sangttruong |
matlab.palette() |
palette_matlab() |
#208, #299, @sangttruong |
mergeextra() |
merge_data() |
#208, #302 |
orderwl() |
wl_sort() |
#208, #309 |
spc.bin() |
spc_bin() |
#208, #301 |
spc.fit.poly() |
spc_fit_poly() |
#208, #301 |
spc.fit.poly.below() |
spc_fit_poly_below() |
#208, #301 |
spc.loess() |
spc_loess() |
#208, #301 |
spc.NA.approx() |
spc_na_approx() |
#208, #301 |
spc.rubberband() |
spc_rubberband() |
#208, #301 |
spc.smooth.spline() |
spc_smooth_spline() |
#208, #301 |
wl.eval() |
wl_eval() |
#208, #309 |
wlconv() |
wl_convert_units() |
#208, #309 |
ev2freq(), ev2invcm(), ev2nm(), ev2raman(), freq2ev(), freq2invcm(), freq2nm(), freq2raman(), invcm2ev(), invcm2freq(), invcm2nm(), invcm2raman(), nm2ev(), nm2freq(), nm2invcm(), nm2raman(), raman2ev(), raman2freq(), raman2invcm(), raman2nm() are deprecated in favor of wl_convert_units() (#300).spc.NA.linapprox(), which was deprecated for long time, is now completely removed (#239).$spc column of hyperSpec object) are now returned correctly by functions spc.bin() (#237), and spc.loess() (#245).hy_list_available_hySpc_packages() lists packages, that are available in GitHub organization r-hyperSpec.hy_browse_homepage() opens the homepage of R hyperSpec in a web browser.hy_list_installed_hySpc_packages() lists and function hy_attach() conveniently loads and attaches all installed r-hyperspec family packages (@cbeleites, @GegznaV, #219).as.hyperSpec():
as.hyperSpec(<hyperSpec>) was created (#282).wl is now set to wl = NULL (#297).wl = NULL now means that the default values of wavelengths should be calculated inside the methods of as.hyperSpec() (#297).hyperSpec object by providing wavelengths only (#288).wl.eval() is converted into S3 generic. Methods wl.eval(<hyperSpec>) and wl.eval(<numeric>) for numeric vectors were added (#287).new_hyperSpec() that initializes hyperSpec object in a similar way as new("hyperSpec") does but has autocompletion possibilities in RStudio (#283).show() and print() give more concise default output now (@GegznaV, #211).summary() was changed (@GegznaV, #211).palette_colorblind introduced (@bryanhanson).