tests/testthat.R

Sys.setenv("R_TESTS" = "")

library(testthat)
library(quanteda.core)

Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)

ops <- quanteda_options()
quanteda_options(reset = TRUE)

test_check("quanteda.core")
quanteda_options(ops)
koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.