CRAN Package Check Results for Package medicalcoder

Last updated on 2025-11-23 12:49:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.0 23.26 516.86 540.12 OK
r-devel-linux-x86_64-debian-gcc 0.6.0 19.05 380.51 399.56 OK
r-devel-linux-x86_64-fedora-clang 0.7.0 42.00 728.42 770.42 OK
r-devel-linux-x86_64-fedora-gcc 0.6.0 50.00 767.21 817.21 OK
r-devel-windows-x86_64 0.6.0 27.00 472.00 499.00 OK
r-patched-linux-x86_64 0.6.0 24.93 507.45 532.38 OK
r-release-linux-x86_64 0.6.0 24.01 492.00 516.01 OK
r-release-macos-arm64 0.7.0 9.00 122.00 131.00 ERROR
r-release-macos-x86_64 0.7.0 35.00 865.00 900.00 OK
r-release-windows-x86_64 0.6.0 26.00 522.00 548.00 OK
r-oldrel-macos-arm64 0.7.0 10.00 122.00 132.00 ERROR
r-oldrel-macos-x86_64 0.7.0 42.00 988.00 1030.00 OK
r-oldrel-windows-x86_64 0.6.0 26.00 649.00 675.00 OK

Check Details

Version: 0.7.0
Check: tests
Result: ERROR Running ‘test-asserts.R’ [5s/5s] Running ‘test-charlson.R’ [8s/8s] Running ‘test-comorbidities.R’ [2s/2s] Running ‘test-data-frame-tools.R’ [1s/1s] Running ‘test-elixhauser-example.R’ [1s/1s] Running ‘test-elixhauser.R’ [1s/1s] Running ‘test-icd_compact_to_full.R’ [1s/1s] Running ‘test-internal-data.R’ [7s/7s] Running ‘test-is_icd.R’ [13s/13s] Running ‘test-locked-bindings.R’ [2s/2s] Running ‘test-longitudinal-comorbidities.R’ [2s/2s] Running ‘test-longitudinal-pccc-v3.1.R’ [1s/1s] Running ‘test-lookup_icd_codes.R’ [7s/7s] Running the tests in ‘tests/test-lookup_icd_codes.R’ failed. Complete output: > source('utilities.R') > library(medicalcoder) > > # lookup exact vs regex consistency > lx <- lookup_icd_codes(c("E11.9","I50.9"), regex = FALSE) > lf <- lookup_icd_codes(factor(c("E11.9","I50.9")), regex = FALSE) > lr <- lookup_icd_codes(c("^E11\\.9$","^I50\\.9$"), regex = TRUE) > stopifnot( + identical(lx, lf), + all(lx$full_code %in% lr$full_code), + all(lr$full_code %in% lx$full_code) + ) > > # the following gives an error: > # Error in merge.data.frame(x = input, y = matches, all.x = TRUE, by = c(ifelse(regex, : > # negative length vectors are not allowed > m <- tryCatchError(lookup_icd_codes(x = "", regex = TRUE)) *** caught segfault *** address 0x6a8008000, cause 'invalid permissions' Traceback: 1: merge.data.frame(x = input, y = matches, all.x = TRUE, by = col_order[1:2]) 2: merge(x = input, y = matches, all.x = TRUE, by = col_order[1:2]) 3: lookup_icd_codes(x = "", regex = TRUE) 4: doTryCatch(return(expr), name, parentenv, handler) 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6: tryCatchList(expr, classes, parentenv, handlers) 7: tryCatch(expr, ..., error = function(e) { e}) 8: tryCatchError(lookup_icd_codes(x = "", regex = TRUE)) An irrecoverable exception occurred. R is aborting now ... Flavor: r-release-macos-arm64

Version: 0.7.0
Check: tests
Result: ERROR Running ‘test-asserts.R’ [4s/4s] Running ‘test-charlson.R’ [7s/7s] Running ‘test-comorbidities.R’ [1s/1s] Running ‘test-data-frame-tools.R’ [1s/1s] Running ‘test-elixhauser-example.R’ [1s/1s] Running ‘test-elixhauser.R’ [1s/1s] Running ‘test-icd_compact_to_full.R’ [1s/1s] Running ‘test-internal-data.R’ [6s/6s] Running ‘test-is_icd.R’ [12s/12s] Running ‘test-locked-bindings.R’ [2s/2s] Running ‘test-longitudinal-comorbidities.R’ [2s/2s] Running ‘test-longitudinal-pccc-v3.1.R’ [1s/1s] Running ‘test-lookup_icd_codes.R’ [6s/6s] Running the tests in ‘tests/test-lookup_icd_codes.R’ failed. Complete output: > source('utilities.R') > library(medicalcoder) > > # lookup exact vs regex consistency > lx <- lookup_icd_codes(c("E11.9","I50.9"), regex = FALSE) > lf <- lookup_icd_codes(factor(c("E11.9","I50.9")), regex = FALSE) > lr <- lookup_icd_codes(c("^E11\\.9$","^I50\\.9$"), regex = TRUE) > stopifnot( + identical(lx, lf), + all(lx$full_code %in% lr$full_code), + all(lr$full_code %in% lx$full_code) + ) > > # the following gives an error: > # Error in merge.data.frame(x = input, y = matches, all.x = TRUE, by = c(ifelse(regex, : > # negative length vectors are not allowed > m <- tryCatchError(lookup_icd_codes(x = "", regex = TRUE)) *** caught segfault *** address 0x698008000, cause 'invalid permissions' Traceback: 1: merge.data.frame(x = input, y = matches, all.x = TRUE, by = col_order[1:2]) 2: merge(x = input, y = matches, all.x = TRUE, by = col_order[1:2]) 3: lookup_icd_codes(x = "", regex = TRUE) 4: doTryCatch(return(expr), name, parentenv, handler) 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6: tryCatchList(expr, classes, parentenv, handlers) 7: tryCatch(expr, ..., error = function(e) { e}) 8: tryCatchError(lookup_icd_codes(x = "", regex = TRUE)) An irrecoverable exception occurred. R is aborting now ... Flavor: r-oldrel-macos-arm64