tests/testthat/test-identify_language.R

context("Testing identify language function")

test_that("Is language identify Ok", {

  txt <- "what lexical scoping really means"

  y <- identify_language(txt)
  expect_type(y, "character")

})

Try the labourR package in your browser

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

labourR documentation built on July 18, 2020, 5:06 p.m.