Skip to content

Commit

Permalink
Import n()
Browse files Browse the repository at this point in the history
Fix #154
  • Loading branch information
yutannihilation committed Dec 11, 2020
1 parent f56f9b1 commit ba90bd0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import(rlang)
importFrom(dplyr,across)
importFrom(dplyr,all_of)
importFrom(dplyr,desc)
importFrom(dplyr,n)
importFrom(ggplot2,"%+%")
importFrom(ggplot2,aes)
importFrom(ggplot2,ggplot_add)
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

* `gghighlight()` now can add labels on discrete scales (#160).

* `gghighlight()` now accepts `n()` so that you can highlight based on the
number of rows within each group (#154).

# gghighlight 0.3.0

## Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion R/gghighlight-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @import rlang
#' @importFrom ggplot2 %+%
#' @importFrom ggplot2 ggplot_add
#' @importFrom dplyr desc across all_of
#' @importFrom dplyr desc across all_of n
#' @docType package
NULL

Expand Down

0 comments on commit ba90bd0

Please sign in to comment.