tests/testthat/test-tei_to_df.R

test_that("tei_to_df converts tei object to tibble", {
  expect_s3_class(
    tei_to_df(get_text_tei(corpus = "rus", play = "gogol-zhenitba")),
    "tbl_df"
  )
})

test_that("get_text_df returns tibble", {
  expect_s3_class(
    get_text_df(corpus = "rus", play = "gogol-zhenitba"),
    "tbl_df"
  )
})

Try the rdracor package in your browser

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

rdracor documentation built on Aug. 27, 2025, 9:09 a.m.