Skip to content

Commit

Permalink
Use new pipe file; Tweak NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Nov 22, 2023
1 parent 64f9cdc commit 0d01e39
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 17 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Imports:
RColorBrewer,
rlang,
scales (>= 1.1.0),
utils
utils,
magrittr
Suggests:
broom (>= 0.7.0),
broom.helpers (>= 1.3.0),
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ export(wrapp)
import(RColorBrewer)
import(ggplot2)
import(utils)
importFrom(dplyr,"%>%")
importFrom(dplyr,all_of)
importFrom(dplyr,group_by)
importFrom(dplyr,rename)
Expand Down Expand Up @@ -166,6 +165,7 @@ importFrom(grid,upViewport)
importFrom(grid,viewport)
importFrom(gtable,gtable_filter)
importFrom(lifecycle,deprecate_soft)
importFrom(magrittr,"%>%")
importFrom(plyr,ddply)
importFrom(plyr,summarize)
importFrom(rlang,"%||%")
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Bug fixes

* removed dependency on reshape2 (#475)
* Removed dependency on reshape2 (#475)
* Reverse ordering of y-axis in `ggally_count()` (#420)
* Facets ordering in `ggcoef_compare()` (#426)
* Fix in `ggcoef_compare()` when using tidy selectors for
Expand All @@ -12,7 +12,7 @@
* New default tidier for `ggcoef_model()`, now using
`broom.helpers::tidy_with_broom_or_parameters()` (#432)
* Re-export methods from and redirect vignettes to the `{ggstats}` package (#452, #457)
* Replaced ..scaled.. with after_stat(scaled) in ggscatmat (#467)
* Replaced `..scaled..` with `after_stat(scaled)` in ggscatmat (#467)


# GGally 2.1.2
Expand Down
12 changes: 0 additions & 12 deletions R/GGally-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,3 @@ NULL
# \lifecycle{deprecated}
# \lifecycle{defunct}
# \lifecycle{archived}

#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom dplyr %>%
#' @usage lhs \%>\% rhs
NULL
14 changes: 14 additions & 0 deletions R/utils-pipe.R
Original file line number Diff line number Diff line change
@@ -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
10 changes: 9 additions & 1 deletion man/pipe.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d01e39

Please sign in to comment.