tests/testthat/test-reptTidySyn.R

test_that("reptTidySyn runs without error", {
  df <- data.frame(
    query = c("Species1", "Species2"),
    RDB = c("syn1; syn2", "syn3"),
    status = c("updated", "up_to_date"),
    stringsAsFactors = FALSE
  )
  expect_invisible(reptTidySyn(df))  # function prints, so invisibly returns NULL
})

Try the letsRept package in your browser

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

letsRept documentation built on June 22, 2026, 9:09 a.m.