diff --git a/NAMESPACE b/NAMESPACE index 9e5a649..9ee0bb5 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -36,4 +36,5 @@ importFrom(rlang,sym) importFrom(rlang,syms) importFrom(stringr,str_pad) importFrom(stringr,str_sub) +importFrom(tidyr,spread) importFrom(utils,capture.output) diff --git a/R/tab.R b/R/tab.R index 6a1142b..34e75ff 100644 --- a/R/tab.R +++ b/R/tab.R @@ -184,13 +184,3 @@ ctab <- function(x, ..., m = TRUE) { stop("ctab() must have exactly two variables for a 2x2 contingency table") } } - -#' @export -br <- function(...) { - View(...) -} - -#' @export -"%gin%" <- function(pattern, x) { - grepl(pattern, x) -} diff --git a/R/utils-tidy-eval.R b/R/utils-tidy-eval.R index 33c26c8..c7500e9 100644 --- a/R/utils-tidy-eval.R +++ b/R/utils-tidy-eval.R @@ -12,4 +12,9 @@ #' @importFrom rlang quo quos enquo sym syms ensym expr exprs enexpr quo_name #' @export quo quos enquo sym syms ensym expr exprs enexpr quo_name #' @importFrom rlang UQ UQS .data := %|% +#' +#' @importFrom stringr str_pad +#' @importFrom stringr str_sub +#' @importFrom utils capture.output +#' @importFrom tidyr spread NULL