tests/testthat/test_readSecondLevelATC.R

library(epos)
context("test_readSecondLevelATC")

test_that("Test function readSecondLevelATC()", {
  atchashsec <-
    readSecondLevelATC(
    system.file("extdata", "atc-secondlevel.map", package = "epos"), "\t")
  expect_that(length(names(atchashsec)), equals(89))
})

Try the epos package in your browser

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

epos documentation built on Feb. 20, 2021, 9:09 a.m.