AngusMcLure / PoolPoweR

Power and sample size calculations for surveys using pool testing (AKA group testing)
GNU General Public License v3.0
0 stars 1 forks source link

Rework `check_input()` #41

Open fredjaya opened 5 months ago

fredjaya commented 5 months ago

Related to #27

Usage currently looks like

check_input("pool_size", pool_size)

This is not great as it can be easily misused like

check_input("pool_size", pool_number)

Ideas for improvement:

fredjaya commented 5 months ago

Adding and using improved functions to/from R/check_input2.R and replace as needed to avoid changing every single usage in one go.