tests/testthat/test_mallet_deprecated.R

context("mallet-deprecated")

data(sotu)

test_that(desc="mallet.read.dir",{
  skip_on_cran()
  directory <- system.file("stoplists", package = "mallet")

  expect_warning(mallet::mallet.read.dir(directory), regexp = "deprecated")

})

Try the mallet package in your browser

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

mallet documentation built on July 20, 2022, 5:08 p.m.