tests/testthat/test_collapsef.R

context("collapsef")

test_that("collapsef", {
  expect_equal(collapsef("%s=%s", 1:2, 3:4), "1=3,2=4")
})

Try the BBmisc package in your browser

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

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.