CRAN Package Check Results for Maintainer ‘Peter DeWitt <peter.dewitt at cuanschutz.edu>’

Last updated on 2025-11-28 02:51:14 CET.

Package ERROR NOTE OK
medicalcoder 2 11
pedalfast.data 13
pedbp 2 11
phoenix 13
pTITAN2 2 11
REDCapExporter 13

Package medicalcoder

Current CRAN status: ERROR: 2, OK: 11

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 0x6b0008000, 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’ [5s/5s] 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’ [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’ [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 0x680008000, 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

Package pedalfast.data

Current CRAN status: OK: 13

Package pedbp

Current CRAN status: NOTE: 2, OK: 11

Version: 2.0.3
Check: installed package size
Result: NOTE installed size is 5.7Mb sub-directories of 1Mb or more: libs 3.9Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Package phoenix

Current CRAN status: OK: 13

Package pTITAN2

Current CRAN status: NOTE: 2, OK: 11

Version: 1.0.2
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Peter DeWitt <peter.dewitt@cuanschutz.edu>’ Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Package REDCapExporter

Current CRAN status: OK: 13