tests/testthat/test-spell.R

context("dictionary compiles for spelling check")

test_that("dictionary created", {
  skip_on_cran()
  skip_on_appveyor()
  skip_on_travis()
  words <- .generate_spelling(save_pkg_data = FALSE)
  expect_character(words)
  expect_true(file.exists(system.file("WORDLIST", package = "icd")))
})
jackwasey/icd documentation built on Nov. 23, 2021, 9:56 a.m.