Browse Source

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

master
Philipp Baumann 10 months ago
parent
commit
b5bbef0b13
3 changed files with 13 additions and 2 deletions
  1. +2
    -1
      NAMESPACE
  2. +0
    -1
      R/pls-modeling.R
  3. +11
    -0
      R/utils-pipe.R

+ 2
- 1
NAMESPACE View File

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

+ 0
- 1
R/pls-modeling.R View File

@ -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
- 0
R/utils-pipe.R View File

@ -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