Skip to content

Commit

Permalink
Import hyperSpec functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zsteinmetz committed Aug 14, 2023
1 parent be6dfa2 commit dcb9e8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export(smooth_intens)
export(spec_res)
export(subtr_bg)
export(write_spec)
import(hyperSpec)
importFrom(data.table,":=")
importFrom(data.table,.SD)
importFrom(data.table,as.data.table)
Expand All @@ -120,6 +119,8 @@ importFrom(digest,digest)
importFrom(grDevices,chull)
importFrom(graphics,matlines)
importFrom(graphics,matplot)
importFrom(hyperSpec,.spc_io_postprocess_optional)
importFrom(hyperSpec,hy_get_option)
importFrom(hyperSpec,read.jdx)
importFrom(hyperSpec,read.spc)
importFrom(imager,as.cimg)
Expand Down
1 change: 0 additions & 1 deletion R/io_spec.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#' @importFrom yaml write_yaml read_yaml
#' @importFrom jsonlite write_json read_json
#' @importFrom data.table as.data.table
#' @import hyperSpec
#'
#' @author
#' Zacharias Steinmetz, Win Cowger
Expand Down
2 changes: 2 additions & 0 deletions R/read_envi.R
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ split.line <- function(x, separator, trim.blank = TRUE) {
#'
#' @importFrom utils modifyList
#' @importFrom methods new
#' @importFrom hyperSpec hy_get_option .spc_io_postprocess_optional
#'
#' @export
read_envi <- function(file = stop("read_envi: file name needed"),
headerfile = NULL,
Expand Down

0 comments on commit dcb9e8a

Please sign in to comment.