tests/testthat/test-split_line_breaks.R

test_that("split_line_breaks works", {
  expect_equal(split_line_breaks(c('a', 'b\nc')), c("a", "b", "c"))
})

Try the vmTools package in your browser

Any scripts or data that you put into this service are public.

vmTools documentation built on Aug. 8, 2025, 7:28 p.m.