We are preparing a new change in Rcpp that will switch to the newer and faster evaluation mechanism introduced in R 3.5 (see RcppCore/Rcpp/pull/1225). With this change, we observed that one test here fails because it expects an Rcpp error to start with Evaluation error: <msg>, which is something that only the old slow mechanism prints out. Therefore, here I'm just changing the expectation to the real error message, and thus this is compatible with both evaluation mechanisms.
We are preparing a new change in Rcpp that will switch to the newer and faster evaluation mechanism introduced in R 3.5 (see RcppCore/Rcpp/pull/1225). With this change, we observed that one test here fails because it expects an Rcpp error to start with
Evaluation error: <msg>
, which is something that only the old slow mechanism prints out. Therefore, here I'm just changing the expectation to the real error message, and thus this is compatible with both evaluation mechanisms.