wendtke / psyphr

legacy repo for R package suite for psychophysiological data; see github.com/psyphr-dev
1 stars 1 forks source link

`assertthat` for program-level evaluation #39

Open iqis opened 5 years ago

iqis commented 5 years ago

User assertthat for condition checking in functions, replacing if() or stopifnot()

wendtke commented 5 years ago

Same as #13 ?

iqis commented 5 years ago

Yes, they are similar. However I wasn't stating the purpose of the thread clear enough. I'd like to use this thread to for condition checking within the program itself (i.e. whether user supplied the correct file name, whether parsing result is expected, etc.), whereas #13 will should lead to a module that facilitates QA on the data. It will give alert user if there is anything out of shape, per pre-specified standards.

wendtke commented 5 years ago

Oh got it. Thanks for clarifying.