NEWS.md
NEWS.md
(this file) added so that users can readily see changes that may affect the use of the package..Rmd
and formatted consistently, thanks to @GegznaV.hyperSpec.Rmd
reorganized and enhanced, thanks to Bryan Hanson (@bryanhanson).pkgdown
sites at https://r-hyperspec.github.io/
palette_colorblind
introduced (@bryanhanson).hy_browse_homepage()
opens the homepage of R hyperSpec in a web browser.hy_list_available_hySpc_packages()
lists packages, that are available in GitHub organization r-hyperSpec
.hy_list_installed_hySpc_packages()
lists and function hy_attach()
conveniently loads and attaches all installed r-hyperspec
family packages (@cbeleites, @GegznaV, cbeleites/hyperSpec#219).hyperSpec()
that initializes hyperSpec
object in a similar way as new("hyperSpec")
does but has autocompletion possibilities in RStudio (cbeleites/hyperSpec#283, #129).wl_convert_units()
(cbeleites/hyperSpec#300).wl_create_label_from_units()
that creates labels for wavelength axis (@GegznaV).as.hyperSpec(<hyperSpec>)
(cbeleites/hyperSpec#282).as.hyperSpec()
: The default value of argument wl
is now set to wl = NULL
(cbeleites/hyperSpec#297).as.hyperSpec()
: wl = NULL
now means that the default values of wavelengths should be calculated inside the methods of as.hyperSpec()
(cbeleites/hyperSpec#297).show(<hyperSpec>)
and print(<hyperSpec>)
give more concise default output now (@GegznaV, cbeleites/hyperSpec#211).summary(<hyperSpec>)
was changed (@GegznaV, cbeleites/hyperSpec#211).wl.eval()
is converted into S3 generic. Methods wl.eval(<hyperSpec>)
and wl.eval(<numeric>)
for numeric vectors were added (cbeleites/hyperSpec#287).sample()
gains new argument index
; sample(..., index = TRUE)
replaced function isample()
(@GegznaV, #17).wl_convert_units()
converted into S3 generic. Default and hyperSpec methods were added (#29).faux_cell
and function generate_faux_cell()
replace chondro
dataset (cbeleites/hyperSpec#125, cbeleites/hyperSpec#156, cbeleites/hyperSpec#180, cbeleites/hyperSpec#229).hyperSpec()
, and to refer to the package, package?hyperSpec
should be used (#129).hyperSpec
object by providing wavelengths only (cbeleites/hyperSpec#288).$spc
column of hyperSpec
object) are now returned correctly by functions spc.bin()
(cbeleites/hyperSpec#237), and spc.loess()
(cbeleites/hyperSpec#245Portions of package hyperSpec
were partitioned into individual packages to facilitate maintenance.
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 to 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/).The names of functions in hyperSpec
started to be standardized to (a) have more self-explanatory names which reflect the essence of the functions and (b) to be more in alignment with the Tidyverse style. The following functions were renamed (see the table and the list below). In the current version of package, both old and new functions exist. But gradually the old functions will go through the deprecation phases and finally will be removed in the future versions of the package.
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()
(cbeleites/hyperSpec#300).