diff --git a/NAMESPACE b/NAMESPACE index cbc2da3..5f23f29 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,5 +1,6 @@ # Generated by roxygen2: do not edit by hand +export("%>%") export(assess_multimodels) export(average_spc) export(bind_lcols_dts) @@ -36,6 +37,7 @@ import(stats) importFrom(data.table,":=") importFrom(data.table,.SD) importFrom(data.table,data.table) +importFrom(data.table,fread) importFrom(data.table,rbindlist) importFrom(data.table,setDT) importFrom(data.table,setkey) @@ -49,5 +51,4 @@ importFrom(purrr,modify_depth) importFrom(rlang,ensym) importFrom(rlang,quo_name) importFrom(rlang,set_names) -importFrom(stringr,str_replace) importFrom(tidyselect,one_of) diff --git a/R/pls-modeling.R b/R/pls-modeling.R index 640aac2..0493e2e 100644 --- a/R/pls-modeling.R +++ b/R/pls-modeling.R @@ -1,6 +1,5 @@ ## Perform calibration sampling based on spectral PCA ## or random split ------------------------------------------------------------- -#' @importFrom magrittr %>% split_data_q <- function( spec_chem, split_method, diff --git a/R/utils-pipe.R b/R/utils-pipe.R new file mode 100644 index 0000000..e79f3d8 --- /dev/null +++ b/R/utils-pipe.R @@ -0,0 +1,11 @@ +#' Pipe operator +#' +#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details. +#' +#' @name %>% +#' @rdname pipe +#' @keywords internal +#' @export +#' @importFrom magrittr %>% +#' @usage lhs \%>\% rhs +NULL