Gilead-BioStats / gsm

Good Statistical Monitoring R Package
https://gilead-biostats.github.io/gsm/
Apache License 2.0
39 stars 9 forks source link

QC: Systematize input checks #1750

Open jonthegeek opened 2 months ago

jonthegeek commented 2 months ago

QC Details

We check some inputs, but not all. @dpastoor did some standardization in #1745, but we should do this systematically and see what we can abstract.

Additional Comments

I maintain {stbl}, a package for handling checks + giving nice error messages. There are other efforts, but each had something that I didn't quite like, so I made my own. If we use it, I can update the package to match our needs (as long as it doesn't break the "make sure inputs work without adding a burden to the end-user" feel that I'm aiming for.