Gilead-BioStats / gsm

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

Add type validation to `CheckSpec()` #1814

Closed lauramaxwell closed 2 months ago

lauramaxwell commented 2 months ago

Overview

Added a simple type validation to CheckSpec() to ensure the data is coming in in the correct format based on optional type field in spec. Also added test to ensure we get an error message when there is a format mismatch

closes #1810

Test Notes/Sample Code

Notes: