tests/testthat.R

Sys.setenv("R_TESTS" = "")
Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)

library("testthat")
# library("quanteda")
library("quanteda.textmodels")
quanteda::quanteda_options(reset = TRUE)

# for strong tests for Matrix deprecations
options(Matrix.warnDeprecatedCoerce = 2)

test_check("quanteda.textmodels")

Try the quanteda.textmodels package in your browser

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

quanteda.textmodels documentation built on Sept. 11, 2024, 8:19 p.m.