pharmaverse / sdtm.oak

An EDC and Data Standard agnostic SDTM data transformation engine that automates the transformation of raw clinical data in ODM format to SDTM based on standard mapping algorithms
https://pharmaverse.github.io/sdtm.oak/
Apache License 2.0
21 stars 5 forks source link

Improve code coverage #48

Open ramiromagno opened 2 months ago

ramiromagno commented 2 months ago
          We need to add test cases for these functions. We can add it in a new branch.

Code coverage

sdtm.oak Coverage: 67.52%
R/assign.R: 0.00%
R/clear_cache.R: 0.00%
R/hardcode.R: 0.00%
R/oak_id_vars.R: 0.00%
R/zzz.R: 0.00%
R/dtc_problems.R: 55.26%
R/dtc_utils.R: 60.53%
R/ct.R: 79.25%
R/dtc_create_iso8601.R: 89.00%
R/parse_dttm_fmt.R: 91.87%
R/derive_study_day.R: 91.89%
R/dtc_parse_dttm.R: 100.00%
R/recode.R: 100.00%
R/str_split.R: 100.00%

_Originally posted by @rammprasad in https://github.com/pharmaverse/sdtm.oak/pull/41#discussion_r1558906186_

ramiromagno commented 2 months ago

I will wait for the following PRs to be merged, and then branch off of main for this issue: