You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating issue #194 I was surprised to find that the expand_range function fails when using ICD-10 decimal codes. The test code in tests/testthat/test-ranges-icd10.R does not seem to cover this case.
While investigating issue #194 I was surprised to find that the
expand_range
function fails when using ICD-10 decimal codes. The test code in tests/testthat/test-ranges-icd10.R does not seem to cover this case.The error message is actually a lie - the problem is with the end code, not the start code.
The culprit appears to be R/ranges.R#L115:
since short_code is forced to TRUE, the function fails:
In fact, the passed in
short_code
parameter value is never used.@jackwasey can you shine some light on this?
The text was updated successfully, but these errors were encountered: