Closed ddediu closed 5 years ago
I removed the default NA
s for all required arguments in the function call definition, and also removed them from the manual. This way, someone would have to explicitely define one of these parameters as NA
, which imho justifies an ugly crash ;).
Now, it is unclear which of the parameters in these functions are required not to be
NA
; for example, incompute_event_durations()
it is not checked if!is.na(medication.class.colnames)
(only if it isn't, and if it is included in the column names), which means that passingmedication.class.colname=NA
results in an ugly crash: