{"comment":{"url":"https://api.github.com/repos/jackwasey/icd/comments/27943212","html_url":"https://github.com/jackwasey/icd/commit/2fd8027911cf46d81be978fc6b9b9bafa6b44947#commitcomment-27943212","id":27943212,"user":{"login":"lintr-bot","id":10925265,"avatar_url":"https://avatars3.githubusercontent.com/u/10925265?v=4","gravatar_id":"","url":"https://api.github.com/users/lintr-bot","html_url":"https://github.com/lintr-bot","followers_url":"https://api.github.com/users/lintr-bot/followers","following_url":"https://api.github.com/users/lintr-bot/following{/other_user}","gists_url":"https://api.github.com/users/lintr-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/lintr-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lintr-bot/subscriptions","organizations_url":"https://api.github.com/users/lintr-bot/orgs","repos_url":"https://api.github.com/users/lintr-bot/repos","events_url":"https://api.github.com/users/lintr-bot/events{/privacy}","received_events_url":"https://api.github.com/users/lintr-bot/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"2fd8027911cf46d81be978fc6b9b9bafa6b44947","created_at":"2018-03-06T02:52:04Z","updated_at":"2018-03-06T02:52:04Z","author_association":"NONE","body":"[tests/test-all.R:18:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L18) *style:* **Lines should not be more than 80 characters.**\n```r\n​# this is common code to all the tests, each of which runs test_check with a different filter:\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/test-all.R:24:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L24) *style:* **Lines should not be more than 80 characters.**\n```r\n​# we now rely on a testthat version with backwards-incompatible changes, the whole of the expectation setup has changed,\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/test-all.R:25:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L25) *style:* **Lines should not be more than 80 characters.**\n```r\n​# and there are many deprecations. For now, only run tests if testthat version is high enough:\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/test-all.R:27:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L27) *style:* **Lines should not be more than 80 characters.**\n```r\n​  message(\"testthat version is less than 0.11.0.9000, so not running Catch tests. Consider\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/test-all.R:28:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L28) *style:* **Lines should not be more than 80 characters.**\n```r\n​           updating testthat using install.packages('testthat'), update.packages(), or\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/test-all.R:32:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L32) *style:* **Lines should not be more than 80 characters.**\n```r\n​# when covr runs tests, it installs the package with source, and sources the files in the test directory.\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/test-all.R:33:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/test-all.R#L33) *style:* **Lines should not be more than 80 characters.**\n```r\n​# This means that /data-raw would be absent, so it should be in inst/data-raw for testing.\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-base.R:30:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-base.R#L30) *style:* **Lines should not be more than 80 characters.**\n```r\n​random_short_icd9_codes <- as.character(floor(stats::runif(min = 10000, max = 99999, n = n)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-base.R:111:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-base.R#L111) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                       lapply(icd9_map_quan_elix, tail, n = 1))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-base.R:119:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-base.R#L119) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                       lapply(icd9_map_quan_deyo, tail, n = 1))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:18:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L18) *style:* **Lines should not be more than 80 characters.**\n```r\n​    \"B22\", # actually B22 not defined in ICD-10-CM, B20 covers all HIV, but Quan uses B20-22,24\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:50:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L50) *style:* **Lines should not be more than 80 characters.**\n```r\n​  \"B20\", # HIV/AIDS actually B22 not defined in ICD-10-CM, B20 covers all HIV, but Quan uses B20-22,24\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:65:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L65) *style:* **Lines should not be more than 80 characters.**\n```r\n​icd10_all_quan_elix <- data.frame(pt_id = 1:31, icd10_code = icd10_each_quan_elix_cmb, stringsAsFactors = FALSE)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:66:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L66) *style:* **Lines should not be more than 80 characters.**\n```r\n​icd10_all_quan_elix_one_pt <- data.frame(pt_id = rep(1, 31), icd10_code = icd10_each_quan_elix_cmb)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:68:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L68) *style:* **Lines should not be more than 80 characters.**\n```r\n​icd10_all_ahrq <- data.frame(pt_id = 1:30, icd10_code = icd10_each_ahrq_cmb, stringsAsFactors = FALSE)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:69:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L69) *style:* **Lines should not be more than 80 characters.**\n```r\n​icd10_all_ahrq_one_pt <- data.frame(pt_id = rep(1, 30), icd10_code = icd10_each_ahrq_cmb)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:71:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L71) *style:* **Lines should not be more than 80 characters.**\n```r\n​icd10_tricky <- icd:::icd10cm(c(\"V97.33XD\", \"W51.XXXA\", \"V00.01XD\", \"Y93.D\", \"Z99.89\", \"Y92.146\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/helper-icd10.R:72:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/helper-icd10.R#L72) *style:* **Lines should not be more than 80 characters.**\n```r\n​                  \"S10.87XA\", \"W55.41XA\", \"W61.62XD\", \"Z63.1\", \"Y93.D\", \"V91.07XD\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:25:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L25) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equal(nines$long_desc, \"Other and unspecified complications of medical care, not elsewhere classified\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:37:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L37) *style:* **Lines should not be more than 80 characters.**\n```r\n​  check_billable <- parse_leaf_descriptions_all(save_data = FALSE, offline = TRUE)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:39:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L39) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_identical(check_billable[[\"28\"]][[\"long_desc\"]], icd9cm_billable[[\"28\"]][[\"long_desc\"]])\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:43:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L43) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_data_frame(b32, nrows = 14567L, any.missing = FALSE, ncols = 3L, types = \"character\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:44:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L44) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_identical(b32[b32$code == \"9999\", \"short_desc\"], \"Complic med care NEC/NOS\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:45:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L45) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_identical(b32[b32$code == \"E0000\", \"short_desc\"], \"Civilian activity-income\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:46:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L46) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_identical(b32[b32$code == \"E9991\", \"short_desc\"], \"Late effect, terrorism\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:47:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L47) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_identical(b32[b32$code == \"V9199\", \"short_desc\"], \"Mult gest-plac/sac undet\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:55:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L55) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                  \"\\noriginal: \", paste(head(v[diff]), collapse = \", \"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-billable.R:56:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-billable.R#L56) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                  \"\\nprocess:\", paste(head(cb[diff]), collapse = \", \")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:26:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L26) *style:* **Lines should not be more than 80 characters.**\n```r\n​    eval(bquote(expect_warning(warn_res <- icd_children(as.icd10(.(i))), regexp = NA)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:35:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L35) *style:* **Lines should not be more than 80 characters.**\n```r\n​    eval(bquote(expect_identical(icd_children.icd10cm(as.icd10(.(i))), as.icd10cm(as.icd_short_diag(.(i))))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:36:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L36) *style:* **Lines should not be more than 80 characters.**\n```r\n​    eval(bquote(expect_identical(icd_children.icd10cm(as.icd10cm(.(i))), as.icd10cm(as.icd_short_diag(.(i))))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:38:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L38) *style:* **Lines should not be more than 80 characters.**\n```r\n​    # at present, the children are only even icd10cm, but we should not enforce this:\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:51:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L51) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_icd10cm_child_is_self(\"O9A119\", \"O9A53\", \"S0000XA\", \"T3299\", \"P150\", \"P159\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:63:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L63) *style:* **Lines should not be more than 80 characters.**\n```r\n​      eval(bquote(expect_warning(res <- icd_children_defined.icd10cm(x), regexp = NA)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-children-icd10.R:72:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-children-icd10.R#L72) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_warning(icd_children_defined(icd10cm(character(0))), icd10cm(character(0)), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:32:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L32) *style:* **Lines should not be more than 80 characters.**\n```r\n​  skip(\"this is time consuming, and we should probably tolerate mixed order anyway\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:38:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L38) *style:* **Lines should not be more than 80 characters.**\n```r\n​  skip(\"this is time consuming, and we should probably tolerate mixed order anyway\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:54:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L54) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_warning(as.icd_short_diag(as.icd_decimal_diag(icd9cm(\"10.1\")), warn = TRUE))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:125:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L125) *style:* **Lines should not be more than 80 characters.**\n```r\n​  wonky_map <- icd_comorbidity_map(list(a = as.icd9cm(\"100\"), b = as.icd9cm(\"V22\")))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:154:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L154) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(as.icd_wide_data(as.data.frame(icd::vermont_dx)), icd::vermont_dx)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:159:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L159) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(as.icd_long_data(icd::uranium_pathology), icd::uranium_pathology)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:160:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L160) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(as.icd_long_data(as.data.frame(icd::uranium_pathology)), icd::uranium_pathology)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:186:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L186) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_is(icd::vermont_dx[6], c(\"icd9cm\", \"icd9\", \"data.frame\")) # not necessarily wide anymore...\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:192:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L192) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_false(inherits(pts_invalid_mix[c(TRUE, TRUE, TRUE), \"visit_id\"], \"icd9\"))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:245:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L245) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd9cm\", \"icd10\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:246:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L246) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd9\", \"icd10\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:247:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L247) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd9cm\", \"icd10cm\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:248:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L248) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd10cm\", \"icd9\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:249:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L249) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd10cm\", \"icd9cm\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:250:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L250) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd10\", \"icd9\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:251:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L251) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd10\", \"icd9cm\", \"character\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:252:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L252) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(list(\"V10\", \"A20\"), class = c(\"icd9cm\", \"icd10\", \"list\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:257:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L257) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd_short_diag\", \"icd_decimal_diag\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-class.R:258:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-class.R#L258) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(icd_classes_conflict(structure(\"V10\", class = c(\"icd_decimal_diag\", \"icd_short_diag\"))))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:24:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L24) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_warning(icd_comorbid(uranium_pathology, icd10_map_quan_elix), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:25:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L25) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_warning(icd_comorbid(uranium_pathology, icd10_map_quan_deyo), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:37:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L37) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                  random_string(nrow(test_three), max_chars = 5))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:42:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L42) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_error(res <- icd_comorbid(td[[test_name]], map = icd10_map_ahrq), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:44:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L44) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_true(res[, n], info = paste(\"method one comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:46:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L46) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_error(res <- icd10_comorbid(td[[test_name]], map = icd10_map_ahrq), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:48:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L48) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_true(res[, n], info = paste(\"method two comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:50:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L50) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_error(res <- icd10_comorbid_ahrq(td[[test_name]], hierarchy = FALSE), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:52:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L52) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_true(res[, n], info = paste(\"method three comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:57:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L57) *style:* **Lines should not be more than 80 characters.**\n```r\n​test_that(\"ahrq comorbidities found for test data for multiple patients each with a different comorbidity\", {\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:61:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L61) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                  random_string(nrow(test_three), max_chars = 5))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:68:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L68) *style:* **Lines should not be more than 80 characters.**\n```r\n​  # just checking for a trace matrix of TRUE, but this way lets me find error much more quickly:\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:73:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L73) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_equal(sum(res[, n]), 1, info = paste(\"col method one comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:75:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L75) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_equal(sum(res[n, ]), 1, info = paste(\"row method one comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:79:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L79) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_equal(sum(res[, n]), 1, info = paste(\"method two comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:81:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L81) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_equal(sum(res[n, ]), 1, info = paste(\"row method two comorbidity:\", n, \", test: \", test_name))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:85:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L85) *style:* **Lines should not be more than 80 characters.**\n```r\n​test_that(\"comorbidity from single ICD-10 leaf or non-leaf code doesn't cause infinite recursion with Elix\", {\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd10.R:100:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd10.R#L100) *style:* **Lines should not be more than 80 characters.**\n```r\n​        df2 <- data.frame(visit = c(1, 2), code = c(code_with_class, code_with_class),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:75:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L75) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_elix_abbrev), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:122:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L122) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_elix_htn_abbrev), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:140:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L140) *style:* **Lines should not be more than 80 characters.**\n```r\n​                                           short_code = TRUE, abbrev_names = FALSE,\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:143:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L143) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_quan_elix), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:171:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L171) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_quan_elix_abbrev), colnames(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:202:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L202) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_quan_elix_htn), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:225:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L225) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_quan_elix_htn_abbrev), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:245:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L245) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_ahrq_abbrev), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:290:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L290) *style:* **Lines should not be more than 80 characters.**\n```r\n​            expect_true(setequal(c(\"visit_id\", icd_names_ahrq_htn_abbrev), names(res)))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:337:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L337) *style:* **Lines should not be more than 80 characters.**\n```r\n​test_that(\"correct comorbidities when the whole data frame has a class for ICD type\", {\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:346:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L346) *style:* **Lines should not be more than 80 characters.**\n```r\n​test_that(\"if an ICD class is not specified for a data set, but is for a column therein,\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-calcs-icd9.R:356:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-calcs-icd9.R#L356) *style:* **Lines should not be more than 80 characters.**\n```r\n​test_that(\"if an ICD class is not specified for a data set, and is not set for a column therein,\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:21:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L21) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(icd10_map_quan_elix, icd10_generate_map_quan_elix(save_data = FALSE))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:25:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L25) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(icd10_map_quan_deyo, icd10_generate_map_quan_deyo(save_data = FALSE))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:39:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L39) *style:* **Lines should not be more than 80 characters.**\n```r\n​  maps <- named_list(icd10_map_ahrq, icd10_map_elix, icd10_map_quan_deyo, icd10_map_quan_elix)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:41:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L41) *style:* **Lines should not be more than 80 characters.**\n```r\n​    # for each map, verify it has class map, and that all it's elements are ICD-10 short diag format\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:42:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L42) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_identical(class(maps[[m]]), c(\"icd_comorbidity_map\", \"list\"), info = paste(\"map: \", m))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:46:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L46) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_true(is.icd_short_diag(y), info = paste(\"map: \", m, \" cbd = \", cbd))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:53:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L53) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_is(icd10_map_quan_elix[[i]], class = c(\"icd10\", \"character\"), info = i)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:54:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L54) *style:* **Lines should not be more than 80 characters.**\n```r\n​    # although we derive the map from ICD-10-CM, it need not be so, and it may be more broad in the future:\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:59:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L59) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_false(inherits(icd10_map_quan_elix[[i]], \"icd_comorbidity_map\"), info = i)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:65:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L65) *style:* **Lines should not be more than 80 characters.**\n```r\n​    chf = c(\"I099\", \"I110\", \"I130\", \"I132\", \"I255\", \"I420\", \"I425\", \"I426\", \"I427\", \"I428\", \"I429\", \"I43\", \"I50\", \"P290\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:66:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L66) *style:* **Lines should not be more than 80 characters.**\n```r\n​    arrhythmia = c(\"I441\", \"I442\", \"I443\", \"I456\", \"I459\", \"I47\", \"I48\", \"I49\", \"R000\", \"R001\", \"R008\", \"T821\", \"Z450\", \"Z950\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:67:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L67) *style:* **Lines should not be more than 80 characters.**\n```r\n​    valvular = c(\"A520\", \"I05\", \"I06\", \"I07\", \"I08\", \"I091\", \"I098\", \"I34\", \"I35\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:68:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L68) *style:* **Lines should not be more than 80 characters.**\n```r\n​                 \"I36\", \"I37\", \"I38\", \"I39\", \"Q230\", \"Q231\", \"Q232\", \"Q233\", \"Z952\", \"Z953\", \"Z954\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:70:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L70) *style:* **Lines should not be more than 80 characters.**\n```r\n​    pvd = c(\"I70\", \"I71\", \"I731\", \"I738\", \"I739\", \"I771\", \"I790\", \"I792\", \"K551\", \"K558\", \"K559\", \"Z958\", \"Z959\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:73:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L73) *style:* **Lines should not be more than 80 characters.**\n```r\n​    paralysis = c(\"G041\", \"G114\", \"G801\", \"G802\", \"G81\", \"G82\", \"G830\", \"G831\", \"G832\", \"G833\", \"G834\", \"G839\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:74:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L74) *style:* **Lines should not be more than 80 characters.**\n```r\n​    neuro = c(\"G10\", \"G11\", \"G12\", \"G13\", \"G20\", \"G21\", \"G22\", \"G254\", \"G255\", \"G312\", \"G318\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:75:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L75) *style:* **Lines should not be more than 80 characters.**\n```r\n​              \"G319\", \"G32\", \"G35\", \"G36\", \"G37\", \"G40\", \"G41\", \"G931\", \"G934\", \"R470\", \"R56\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:76:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L76) *style:* **Lines should not be more than 80 characters.**\n```r\n​    copd = c(\"I278\", \"I279\", \"J40\", \"J41\", \"J42\", \"J43\", \"J44\", \"J45\", \"J46\", \"J47\", \"J60\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:77:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L77) *style:* **Lines should not be more than 80 characters.**\n```r\n​             \"J61\", \"J62\", \"J63\", \"J64\", \"J65\", \"J66\", \"J67\", \"J684\", \"J701\", \"J703\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:78:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L78) *style:* **Lines should not be more than 80 characters.**\n```r\n​    dm_s = c(\"E100\", \"E101\", \"E109\", \"E110\", \"E111\", \"E119\", \"E120\", \"E121\", \"E129\", \"E130\", \"E131\", \"E139\", \"E140\", \"E141\", \"E149\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:79:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L79) *style:* **Lines should not be more than 80 characters.**\n```r\n​    dm_cx = c(\"E102\", \"E103\", \"E104\", \"E105\", \"E106\", \"E107\", \"E108\", \"E112\", \"E113\", \"E114\", \"E115\", \"E116\", \"E117\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:80:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L80) *style:* **Lines should not be more than 80 characters.**\n```r\n​              \"E118\", \"E122\", \"E123\", \"E124\", \"E125\", \"E126\", \"E127\", \"E128\", \"E132\", \"E133\", \"E134\", \"E135\", \"E136\", \"E137\", \"E138\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:83:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L83) *style:* **Lines should not be more than 80 characters.**\n```r\n​    renal = c(\"I120\", \"I131\", \"N18\", \"N19\", \"N250\", \"Z490\", \"Z491\", \"Z492\", \"Z940\", \"Z992\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:84:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L84) *style:* **Lines should not be more than 80 characters.**\n```r\n​    liver = c(\"B18\", \"I85\", \"I864\", \"I982\", \"K70\", \"K711\", \"K713\", \"K714\", \"K715\", \"K717\", \"K72\", \"K73\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:85:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L85) *style:* **Lines should not be more than 80 characters.**\n```r\n​              \"K74\", \"K760\", \"K762\", \"K763\", \"K764\", \"K765\", \"K766\", \"K767\", \"K768\", \"K769\", \"Z944\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:88:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L88) *style:* **Lines should not be more than 80 characters.**\n```r\n​    lymphoma = c(\"C81\", \"C82\", \"C83\", \"C84\", \"C85\", \"C88\", \"C96\", \"C900\", \"C902\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:90:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L90) *style:* **Lines should not be more than 80 characters.**\n```r\n​    tumor = c(\"C00\", \"C01\", \"C02\", \"C03\", \"C04\", \"C05\", \"C06\", \"C07\", \"C08\", \"C09\", \"C10\", \"C11\", \"C12\", \"C13\", \"C14\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:91:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L91) *style:* **Lines should not be more than 80 characters.**\n```r\n​              \"C15\", \"C16\", \"C17\", \"C18\", \"C19\", \"C20\", \"C21\", \"C22\", \"C23\", \"C24\", \"C25\", \"C26\", \"C30\", \"C31\", \"C32\", \"C33\", \"C34\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:92:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L92) *style:* **Lines should not be more than 80 characters.**\n```r\n​              \"C37\", \"C38\", \"C39\", \"C40\", \"C41\", \"C43\", \"C45\", \"C46\", \"C47\", \"C48\", \"C49\", \"C50\", \"C51\", \"C52\", \"C53\", \"C54\", \"C55\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:93:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L93) *style:* **Lines should not be more than 80 characters.**\n```r\n​              \"C56\", \"C57\", \"C58\", \"C60\", \"C61\", \"C62\", \"C63\", \"C64\", \"C65\", \"C66\", \"C67\", \"C68\", \"C69\", \"C70\", \"C71\", \"C72\", \"C73\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:95:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L95) *style:* **Lines should not be more than 80 characters.**\n```r\n​    arthritis = c(\"L940\", \"L941\", \"L943\", \"M05\", \"M06\", \"M08\", \"M120\", \"M123\", \"M30\", \"M310\",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:96:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L96) *style:* **Lines should not be more than 80 characters.**\n```r\n​                  \"M311\", \"M312\", \"M313\", \"M32\", \"M33\", \"M34\", \"M35\", \"M45\", \"M461\", \"M468\", \"M469\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:97:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L97) *style:* **Lines should not be more than 80 characters.**\n```r\n​    coag = c(\"D65\", \"D66\", \"D67\", \"D68\", \"D691\", \"D693\", \"D694\", \"D695\", \"D696\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:99:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L99) *style:* **Lines should not be more than 80 characters.**\n```r\n​    weight_loss = c(\"E40\", \"E41\", \"E42\", \"E43\", \"E44\", \"E45\", \"E46\", \"R634\", \"R64\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:103:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L103) *style:* **Lines should not be more than 80 characters.**\n```r\n​    etoh = c(\"F10\", \"E52\", \"G621\", \"I426\", \"K292\", \"K700\", \"K703\", \"K709\", \"T51\", \"Z502\", \"Z714\", \"Z721\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:104:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L104) *style:* **Lines should not be more than 80 characters.**\n```r\n​    drugs = c(\"F11\", \"F12\", \"F13\", \"F14\", \"F15\", \"F16\", \"F18\", \"F19\", \"Z715\", \"Z722\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:105:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L105) *style:* **Lines should not be more than 80 characters.**\n```r\n​    psych = c(\"F20\", \"F22\", \"F23\", \"F24\", \"F25\", \"F28\", \"F29\", \"F302\", \"F312\", \"F315\"),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:106:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L106) *style:* **Lines should not be more than 80 characters.**\n```r\n​    depression = c(\"F204\", \"F313\", \"F314\", \"F315\", \"F32\", \"F33\", \"F341\", \"F412\", \"F432\"))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:108:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L108) *style:* **Lines should not be more than 80 characters.**\n```r\n​  # this list is just parent codes, whereas I store, for ICD-10, the icd-10-cm children also.\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:114:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L114) *style:* **Lines should not be more than 80 characters.**\n```r\n​                 info = paste(\"checking quan elix canonical in indep: \", i, \" - \", names(quan_elix_independent)[i]))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:116:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L116) *style:* **Lines should not be more than 80 characters.**\n```r\n​                 info = paste(\"checking quan elix canonical in indep_kids: \", i, \" - \", names(quan_elix_independent)[i]))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:120:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L120) *style:* **Lines should not be more than 80 characters.**\n```r\n​    skip(\"his test reveals that ICD 10 CM codes may not be represented in ICD 10 WHO...\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd10.R:122:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd10.R#L122) *style:* **Lines should not be more than 80 characters.**\n```r\n​                 info = paste(\"checking quan elix indep in canonical: \", i, \" - \",\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:21:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L21) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_error(icd9_comorbid(ahrq_test_dat, map = icd9_map_ahrq, short_code = TRUE),\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:27:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L27) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_equal(icd_children.icd9(i, defined = FALSE, short_code = TRUE), icd_sort.icd9(i))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:32:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L32) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_equal(icd_children.icd9(i, defined = FALSE, short_code = TRUE), icd_sort.icd9(i))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:37:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L37) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_equal_no_class_order(icd_children.icd9(i, defined = FALSE, short_code = TRUE), icd_sort.icd9(i))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:42:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L42) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_equal_no_class_order(icd_children.icd9(i, defined = FALSE, short_code = TRUE), icd_sort.icd9(i))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:83:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L83) *style:* **Lines should not be more than 80 characters.**\n```r\n​    skip(\"data-raw/comformat2012-2013.txt must be downloaded with icd9_fetch_ahrq_sas\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:86:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L86) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_identical(result <- icd9_parse_ahrq_sas(save_data = FALSE), icd9_map_ahrq)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:94:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L94) *style:* **Lines should not be more than 80 characters.**\n```r\n​    skip(\"data-raw/ICD9_E_Charlson.sas must be downloaded with icd9_fetch_quan_deyo_sas\")\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:95:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L95) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(icd9_map_quan_deyo, icd9_parse_quan_deyo_sas(save_data = FALSE))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:103:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L103) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(icd9_map_quan_elix, icd9_generate_map_quan_elix(save_data = FALSE))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:112:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L112) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(icd_get_invalid.icd_comorbidity_map(icd9_map_elix, short_code = TRUE), list())\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:117:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L117) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_equivalent(icd_get_invalid.icd_comorbidity_map(icd10_map_elix, short_code = TRUE), list())\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:129:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L129) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(ahrq <- lapply(icd9_map_ahrq[c(1, 30)], icd_condense.icd9, short_code = TRUE, defined = defined_codes))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:130:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L130) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(qd <- lapply(icd9_map_quan_deyo[c(1, 17)], icd_condense.icd9, short_code = TRUE, defined = defined_codes))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:131:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L131) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(qe <- lapply(icd9_map_quan_elix[c(1, 31)], icd_condense.icd9, short_code = TRUE, defined = defined_codes))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:132:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L132) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(elix <- lapply(icd9_map_elix[c(1, 31)], icd_condense.icd9, defined = defined_codes))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:135:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L135) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(ahrq <- lapply(icd9_map_ahrq[c(1, 30)], icd_condense.icd9, short_code = TRUE, defined = defined_codes), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:136:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L136) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(qd <- lapply(icd9_map_quan_deyo[c(1, 17)], icd_condense.icd9, short_code = TRUE, defined = defined_codes), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:137:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L137) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(qe <- lapply(icd9_map_quan_elix[c(1, 30)], icd_condense.icd9, short_code = TRUE, defined = defined_codes), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:138:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L138) *style:* **Lines should not be more than 80 characters.**\n```r\n​      expect_warning(elix <- lapply(icd9_map_elix[c(1, 30)], icd_condense.icd9, short_code = TRUE, defined = defined_codes), regexp = NA)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:163:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L163) *style:* **Lines should not be more than 80 characters.**\n```r\n​  cmh <- icd9cm_generate_chapters_hierarchy(save_data = FALSE, verbose = FALSE, offline = TRUE)\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:165:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L165) *style:* **Lines should not be more than 80 characters.**\n```r\n​    expect_equal(cmh[[h]], icd::icd9cm_hierarchy[[h]], info = paste(\"working on :\", h))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:169:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L169) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_false(any(icd9_map_quan_deyo[[\"LiverMild\"]] %in% icd9_map_quan_deyo[[\"LiverSevere\"]]))\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:210:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L210) *style:* **Lines should not be more than 80 characters.**\n```r\n​  # although 4385 implies an overly broad range, all its children are in the requested range, so it should appear.\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n```\n[tests/testthat/test-comorbid-maps-icd9.R:224:1:](https://github.com/jackwasey/icd/blob/2fd8027911cf46d81be978fc6b9b9bafa6b44947/tests/testthat/test-comorbid-maps-icd9.R#L224) *style:* **Lines should not be more than 80 characters.**\n```r\n​  expect_true(\"33371\" %in% icd9_map_ahrq[[\"NeuroOther\"]]) # single value sub-code - zero not defined in 2015\n"}}
{"actor":{"display_login":"lintr-bot"}}