pharmaverse / sdtmchecks

Analysis facing checks for SDTM data
https://pharmaverse.github.io/sdtmchecks/
Apache License 2.0
20 stars 6 forks source link

Issue #295 First attempt to collect ad-hoc set of dataframes to be used for testing run_all_checks #342

Closed jimrothstein closed 2 weeks ago

jimrothstein commented 3 weeks ago

First attempt. Just placeholder for now. To test run run_all_checks and then diff_reports a set of dataframes for AE, DS etc are needed. This is first attempt to gather test dataframe in ONE place. The toy dataframes are copied from example code with for each check function.

jimrothstein commented 3 weeks ago

@sarabodach Wow ...

Finally unraveled much of code for run_check.R You guys are clever ! and terse ! Ex: grepl("try-error", class(result)) was not obvious to me.

I could put in more comments, but seems like mostly for me ... so I will hold off. Anyway, big step today understanding how your code works. 'debug' line-by-line.

FYI ae and not AE is what needs to be in environment, as least for run_check.R