From ba006c16bdf9c8d32e04a8bf31dd4046d2a0301b Mon Sep 17 00:00:00 2001 From: Zoe Turner Date: Mon, 27 Sep 2021 11:50:05 +0100 Subject: [PATCH] Updated dependencies from CRAN and development. --- DESCRIPTION | 12 +++++++++++- R/utils-pipe.R | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 R/utils-pipe.R diff --git a/DESCRIPTION b/DESCRIPTION index 901945e..aea7b44 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -23,4 +23,14 @@ Imports: plotly, scales, ggplot2, - lubridate + lubridate, + knitr, + icons (>= 0.2.0), + xaringanExtra (>= 0.5.4), + nhsrtheme (>= 0.1.0), + magrittr, + shinydashboard +Remotes: + mitchelloharawild/icons, + gadenbuie/xaringanExtra, + nhs-r-community/nhsrtheme diff --git a/R/utils-pipe.R b/R/utils-pipe.R new file mode 100644 index 0000000..fd0b1d1 --- /dev/null +++ b/R/utils-pipe.R @@ -0,0 +1,14 @@ +#' Pipe operator +#' +#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details. +#' +#' @name %>% +#' @rdname pipe +#' @keywords internal +#' @export +#' @importFrom magrittr %>% +#' @usage lhs \%>\% rhs +#' @param lhs A value or the magrittr placeholder. +#' @param rhs A function call using the magrittr semantics. +#' @return The result of calling `rhs(lhs)`. +NULL