Skip to content

Commit b82dd61

Browse files
fix infix operator imports
1 parent 6ae5029 commit b82dd61

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

NAMESPACE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export(style_text)
3131
export(tidyverse_math_token_spacing)
3232
export(tidyverse_reindention)
3333
export(tidyverse_style)
34-
importFrom(magrittr,)
34+
importFrom(magrittr,"%>%")
3535
importFrom(purrr,compact)
3636
importFrom(purrr,flatten)
3737
importFrom(purrr,flatten_chr)
@@ -46,6 +46,7 @@ importFrom(purrr,map_lgl)
4646
importFrom(purrr,partial)
4747
importFrom(purrr,pmap)
4848
importFrom(purrr,pwalk)
49+
importFrom(rlang,"%||%")
4950
importFrom(rlang,abort)
5051
importFrom(rlang,check_installed)
5152
importFrom(rlang,is_installed)

R/styler-package.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
#' style_text("a%>%b; a", scope = "tokens")
1919
"_PACKAGE"
2020

21-
## usethis namespace: start
21+
## styler namespace: start
2222
#'
23-
#' @importFrom magrittr "%>%"
23+
#' @importFrom magrittr %>%
2424
#' @importFrom purrr compact partial flatten flatten_int flatten_chr
2525
#' @importFrom purrr map map_lgl map_int map_chr map2 map2_chr map_at pmap pwalk
26-
#' @importFrom rlang abort warn seq2 check_installed is_installed "%||%" set_names
26+
#' @importFrom rlang abort warn seq2 check_installed is_installed %||% set_names
2727
#' @importFrom vctrs vec_rbind vec_slice vec_split
28-
## usethis namespace: end
28+
#'
29+
## styler namespace: end
2930
NULL
3031

3132

0 commit comments

Comments
 (0)