Skip to content

Commit ac316ee

Browse files
committed
add tbl back in
1 parent 334c810 commit ac316ee

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

r/tests/testthat/test-dplyr-funcs-string.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ library(lubridate)
2323
library(stringr)
2424
library(stringi)
2525

26+
tbl <- example_data
27+
# Add some better string data
28+
tbl$verses <- verses[[1]]
29+
# c(" a ", " b ", " c ", ...) increasing padding
30+
# nchar = 3 5 7 9 11 13 15 17 19 21
31+
tbl$padded_strings <- stringr::str_pad(letters[1:10], width = 2 * (1:10) + 1, side = "both")
32+
tbl$some_grouping <- rep(c(1, 2), 5)
33+
2634
test_that("paste, paste0, and str_c", {
2735
df <- tibble(
2836
v = c("A", "B", "C"),

0 commit comments

Comments
 (0)