tests/testthat/test-create_corpus.R

test_that("corpus creation works", {

  path <- testthat::test_path("data", "texts")

  expect_snapshot(create_corpus(path))

})

Try the idiolect package in your browser

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

idiolect documentation built on Sept. 11, 2024, 5:34 p.m.