tests/testthat/test-utils-tick.R

test_that("output test", {
  expect_snapshot({
    name_or_pos(c("a", "", "c"), 1:3)

    cat(tick(c("a", "b c", "if", "`")))
    cat(tick_if_needed(c("a", "b c", "if", "`")))
  })
})

Try the tibble package in your browser

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

tibble documentation built on March 31, 2023, 11 p.m.