tests/testthat/test-icd10be.R

context("ICD-10-BE")

test_that("basic Belgian", {
  skip_missing_dat("icd10be2014")
  skip_missing_dat("icd10be2017")
  expect_true(inherits(get_icd10be2014()$code, "icd10be"))
  expect_true(inherits(get_icd10be2017()$code, "icd10be"))
})

Try the icd package in your browser

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

icd documentation built on July 2, 2020, 4:07 a.m.