Skip to content

Commit 69effbc

Browse files
authored
Change clisymbols for cli (#67)
1 parent 6c46e2b commit 69effbc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Authors@R: c(
1010
)
1111
Description: Provides feedback about 'dplyr' and 'tidyr' operations.
1212
License: MIT + file LICENSE
13-
Imports: dplyr, tidyr, glue, clisymbols, rlang (>= 0.4.3)
13+
Imports: dplyr, tidyr, glue, cli, rlang (>= 0.4.3)
1414
Suggests:
1515
testthat,
1616
units,

NAMESPACE

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export(transmute_at)
7171
export(transmute_if)
7272
export(uncount)
7373
export(ungroup)
74-
import(clisymbols)
7574
import(dplyr)
7675
import(rlang)
7776
import(tidyr)

NEWS.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# tidylog (development version)
22

3+
- use cli instead of clisymbols
4+
35
# 1.1.0
46

57
- switch to Github Actions for CI

R/tidylog.R

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ percent <- function(n, total) {
2929
}
3030
}
3131

32-
#' @import clisymbols
3332
format_list <- function(items) {
3433
if (length(items) <= 5) {
3534
paste0(items, collapse = ", ")
3635
} else {
37-
paste0(c(items[1:5], clisymbols::symbol$ellipsis), collapse = ", ")
36+
paste0(c(items[1:5], cli::symbol$ellipsis), collapse = ", ")
3837
}
3938
}
4039

0 commit comments

Comments
 (0)