tests/testthat/test-wals-feature.R

library(lingtypology)
context("Tests for wals.feature function")

test_that("wals.feature", {
  skip_on_cran()
  expect_error(wals.feature(c("aa", "bb")), "There is no features 'aa', 'bb' in WALS database.")
})

Try the lingtypology package in your browser

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

lingtypology documentation built on Aug. 23, 2023, 5:09 p.m.