Browse Source

* Import pipe in separate file via `usethis::use_pipe()`

pull/11/head
Philipp Baumann 4 years ago
parent
commit
b5bbef0b13
  1. 3
      NAMESPACE
  2. 1
      R/pls-modeling.R
  3. 11
      R/utils-pipe.R

3
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)

1
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,

11
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
Loading…
Cancel
Save