Changed included datafiles to be of type data.frame to avoid some libraries trying to load data.table unnecessarily. Similarly removed dependencies on dplyr::data_frame() due to deprecation.
Increased R dependency to version 3.5.0 and greater due to change in how rds/rda files are created. Sample data included with package requires newer R.
Updates to make code work with 1.0 version of dplyr and new vctrs (dplyr dependency). Removed use of dplyr from many tests.
Also update test cases to work with new R 4.0.x feature to account for changed default to stringsAsFactors = FALSE.
Added Rcpp::Shield() around Rcpp::wrap() calls inside Rcpp::List::create(). Apparently adding shield helps with some AddressSanitizer checks due to wrap calls inside List::create(). Thanks to Tomas Kalibera for pointing that out.
Also updated a few tests to address deprecations in dplyr and changes in testthat.
Removed unnecessary initializer that causes problems with older pre-C++11 compilers
Minor update to address problem introduced by downstream dependency package rlang 0.2.0. Unit tests identified that a null argument that previously worked with enquo() now throws an error. Now check for argument and set sane default if missing.
After careful review of which ICD codes should flag which CCCs, we have made tweaks to the overall logic as well as the various CCC categories.
dplyr (>= 0.7.0)
(#20) the API is cleaner and easier to
use. See the vignette and examples. The major change is that dplyr::vars
is no longer needed.ccc
function only takes one entry for codes. There is no need to input
the diagnostic and procedure codes separately.First release.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.