You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R is a dynamically typed language and there are no default input checks for functions. Stephans interface criticism some weeks ago was a wake-up call and made me aware how wonky R code often feels just because of that: Functions sometimes fail and produce the weirdest output if used with the wrong input. Of course this design choice also has big advantages and allows for really crazy dynamic code, but for many interfaces it's harmful.
I just took a look at the multitude of packages available to compensate for this and came to the conclusion, that checkmate might be worth a try.
The text was updated successfully, but these errors were encountered:
R is a dynamically typed language and there are no default input checks for functions. Stephans interface criticism some weeks ago was a wake-up call and made me aware how wonky R code often feels just because of that: Functions sometimes fail and produce the weirdest output if used with the wrong input. Of course this design choice also has big advantages and allows for really crazy dynamic code, but for many interfaces it's harmful.
I just took a look at the multitude of packages available to compensate for this and came to the conclusion, that checkmate might be worth a try.
The text was updated successfully, but these errors were encountered: