Skip to content

Commit

Permalink
fix notes, try manage again
Browse files Browse the repository at this point in the history
  • Loading branch information
wincowgerDEV committed Oct 23, 2024
1 parent 0033025 commit 77740e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/process_spec.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' If \code{FALSE}, the original data will be returned.
#' @param adj_intens logical; describing whether to adjust the intensity units.
#' @param adj_intens_args named list of arguments passed to
#' \code{\link{smooth_intens}()}.
#' \code{\link{adj_intens}()}.
#' @param conform_spec logical; whether to conform the spectra to a new
#' wavenumber range and resolution.
#' @param conform_spec_args named list of arguments passed to
Expand Down
3 changes: 3 additions & 0 deletions R/spatial_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spatial_smooth <- function(x, sigma = c(1, 1, 1), ...) {
stop("The OpenSpecy object must have 'x', 'y', and 'col_id' columns in its metadata.", call. = FALSE)
}

#Avoid data.table notes
. <- col_id <- y <- wavenumber <- x_idx <- y_idx <- z_idx <- NULL

# Extract wavenumbers and spectra
wavenumbers <- x$wavenumber
spectra <- x$spectra # data.table with spectra columns
Expand Down
2 changes: 1 addition & 1 deletion man/process_spec.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77740e2

Please sign in to comment.