I believe it is important to improve the reliability of R programming. Packages such as testthat help with this, but these packages aren’t comprehensive enough. What I would like it more automatic testing. In some packages, univariateML being a great example, there are a lot of functions following the same basic prototype: Every function has the same formals and they return similar objects. What I would like is to specify the prototype and automatically check that each of the approximately 25 functions in univariateML adheres to it.
• Every function has the same formals: c(x, na.rm, ...). This is pretty easy to check.