nacnudus / tidyxl

Read untidy Excel files in R https://nacnudus.github.io/tidyxl/
https://nacnudus.github.io/tidyxl/
Other
248 stars 21 forks source link

Fix error message expectation to comply with RcppCore/Rcpp/pull/1225 #86

Closed Enchufa2 closed 2 years ago

Enchufa2 commented 2 years ago

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.