tests/testthat/test-countwords.R

test_that("You can count on count_words()", {
  skip_on_os("linux")
  testthat::expect_equal(iheiddown::count_words(testthat::test_path("test.Rmd")), 241)
})

Try the iheiddown package in your browser

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

iheiddown documentation built on May 8, 2026, 9:07 a.m.