Closed pbchase closed 12 months ago
I feel like we should have passed the DBI connection object to write_summary_metrics instead of doing this:
write_summary_metrics
https://github.com/ctsit/redcapcustodian/blob/43180b78d3c9eef85d947c55a9483a422b5aa2df/R/summary_metrics.R#L48
As I go to use write_summary_metrics in novel ways, testing is tricker because its harder to control the connection object it writes to.
@ChemiKyle, what do you think?
Closed by #122
I feel like we should have passed the DBI connection object to
write_summary_metrics
instead of doing this:https://github.com/ctsit/redcapcustodian/blob/43180b78d3c9eef85d947c55a9483a422b5aa2df/R/summary_metrics.R#L48
As I go to use
write_summary_metrics
in novel ways, testing is tricker because its harder to control the connection object it writes to.@ChemiKyle, what do you think?