Skip to content
Snippets Groups Projects
Verified Commit eae041ce authored by Gärber, Florian's avatar Gärber, Florian
Browse files

fix(hyperSpec): Initializer function was renamed

parent d941aa15
No related branches found
No related tags found
No related merge requests found
...@@ -287,7 +287,7 @@ simplerspec_to_ChemoSpec <- function( ...@@ -287,7 +287,7 @@ simplerspec_to_ChemoSpec <- function(
#' @inheritParams opusreader2_to_hyperSpec #' @inheritParams opusreader2_to_hyperSpec
#' @param groups Factor with sample class assignments. #' @param groups Factor with sample class assignments.
#' @param names Character vector with unique sample names. #' @param names Character vector with unique sample names.
#' @param gc See `hyperSpec::new_hyperSpec()`. #' @param gc See `hyperSpec::hyperSpec()`.
#' @inheritDotParams to_ChemoSpec desc unit_frequency unit_intensity colors_set sym_set alt.sym_set .strict_extra_data_names #' @inheritDotParams to_ChemoSpec desc unit_frequency unit_intensity colors_set sym_set alt.sym_set .strict_extra_data_names
#' #'
#' @returns A list of `ChemoSpec::Spectra()` objects. #' @returns A list of `ChemoSpec::Spectra()` objects.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#' *️⃣ {hyperSpec} #' *️⃣ {hyperSpec}
#' #'
#' @inheritDotParams hyperSpec::new_hyperSpec spc data wavelength labels gc #' @inheritDotParams hyperSpec::hyperSpec spc data wavelength labels gc
#' #'
#' @returns A [`hyperSpec::hyperSpec-class`] object. #' @returns A [`hyperSpec::hyperSpec-class`] object.
#' #'
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
#' @keywords to_hyperSpec #' @keywords to_hyperSpec
to_hyperSpec <- function(...) { to_hyperSpec <- function(...) {
rlang::check_installed("hyperSpec", version = "0.200.0.9000") rlang::check_installed("hyperSpec", version = "0.200.0.9000")
hyperSpec::new_hyperSpec(...) hyperSpec::hyperSpec(...)
} }
#' {ChemoSpec} 🟠 ➡️ 🔵 {hyperSpec} #' {ChemoSpec} 🟠 ➡️ 🔵 {hyperSpec}
#' #'
#' @param Spectra `ChemoSpec::Spectra()` object. #' @param Spectra `ChemoSpec::Spectra()` object.
#' @inheritDotParams hyperSpec::new_hyperSpec gc #' @inheritDotParams hyperSpec::hyperSpec gc
#' #'
#' @returns A [`hyperSpec::hyperSpec-class`] object. #' @returns A [`hyperSpec::hyperSpec-class`] object.
#' #'
...@@ -137,7 +137,7 @@ ChemoSpec_to_hyperSpec <- function(Spectra, ...) { ...@@ -137,7 +137,7 @@ ChemoSpec_to_hyperSpec <- function(Spectra, ...) {
#' If you aren't sure which data blocks are available in your data set, #' If you aren't sure which data blocks are available in your data set,
#' use `.getDataBlockNames()`. #' use `.getDataBlockNames()`.
#' @inheritParams to_hyperSpec #' @inheritParams to_hyperSpec
#' @inheritDotParams hyperSpec::new_hyperSpec gc #' @inheritDotParams hyperSpec::hyperSpec gc
#' #'
#' @returns A list of `hyperSpec::hyperSpec-class` objects. #' @returns A list of `hyperSpec::hyperSpec-class` objects.
#' #'
...@@ -252,7 +252,7 @@ opusreader2_to_hyperSpec <- function( ...@@ -252,7 +252,7 @@ opusreader2_to_hyperSpec <- function(
#' using any valid column name on `spc_tbl` in `spc_column` and #' using any valid column name on `spc_tbl` in `spc_column` and
#' `wavelength_column`. #' `wavelength_column`.
#' @inheritParams to_hyperSpec #' @inheritParams to_hyperSpec
#' @inheritDotParams hyperSpec::new_hyperSpec gc #' @inheritDotParams hyperSpec::hyperSpec gc
#' #'
#' @returns A `ChemoSpec::Spectra()` object. #' @returns A `ChemoSpec::Spectra()` object.
#' #'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment