R Under development (unstable) (2025-10-08 r88906 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(medicalcoder) > > ################################################################################ > # check the internal data set > stopifnot(is.data.frame(medicalcoder:::..mdcr_internal_icd_codes..)) > > stopifnot( + identical( + names(medicalcoder:::..mdcr_internal_icd_codes..), + c("icdv", "dx", "full_code", "code", "code_id", "chap_id", "subchap_id") + ) + ) > > stopifnot( + identical( + sapply(medicalcoder:::..mdcr_internal_icd_codes.., class), + c(icdv = "integer", + dx = "integer", + full_code = "character", + code = "character", + code_id = "integer", + chap_id = "integer", + subchap_id = "integer") + ) + ) > > # see test-get_icd.R > > > ################################################################################ > # End of File # > ################################################################################ > > proc.time() user system elapsed 2.75 0.26 3.00