tests/testthat/_snaps/subset.md

can't use boundaries

Code
  str_subset(c("a", "b c"), "")
Condition
  Error in `str_subset()`:
  ! `pattern` can't be the empty string (`""`).
Code
  str_subset(c("a", "b c"), boundary())
Condition
  Error in `str_subset()`:
  ! `pattern` can't be a boundary.


hadley/stringr documentation built on Nov. 17, 2023, 12:37 a.m.