At the moment, most of the parameter checks are implemented in R using assertthat. A consequence of that is a performance hit - in particular, if large parameters are involved. It would be good to either incorporate parameter checks directly in the support library or at least rewrite some of the tests in C++.
Proposal
At the moment, most of the parameter checks are implemented in
R
usingassertthat
. A consequence of that is a performance hit - in particular, if large parameters are involved. It would be good to either incorporate parameter checks directly in the support library or at least rewrite some of the tests in C++.