tests/testthat/test-acep_context.R

test_that("ACEP Context", {
  skip_if_offline()
  skip_on_cran()
  texto <- acep_context(texto = "El SUTEBA fue al paro por mejoras salariales.",
                        clave = "paro")
  dimensiones <- length(texto)
  expect_equal(dimensiones, length(texto))
})

Try the ACEP package in your browser

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

ACEP documentation built on May 14, 2026, 5:08 p.m.