Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VISOR
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AG Seifert
VISOR
Commits
eae041ce
Verified
Commit
eae041ce
authored
9 months ago
by
Gärber, Florian
Browse files
Options
Downloads
Patches
Plain Diff
fix(hyperSpec): Initializer function was renamed
Refs:
https://github.com/r-hyperspec/hyperSpec/issues/129
parent
d941aa15
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/to_ChemoSpec.R
+1
-1
1 addition, 1 deletion
R/to_ChemoSpec.R
R/to_hyperSpec.R
+5
-5
5 additions, 5 deletions
R/to_hyperSpec.R
with
6 additions
and
6 deletions
R/to_ChemoSpec.R
+
1
−
1
View file @
eae041ce
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
R/to_hyperSpec.R
+
5
−
5
View file @
eae041ce
...
@@ -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.
#'
#'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment