Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 26, 2022
Merged

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

merged 1 commit into from
Jul 26, 2022

Conversation

Enchufa2
Copy link
Contributor

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.

@nacnudus nacnudus merged commit 2559a90 into nacnudus:main Jul 26, 2022
@Enchufa2 Enchufa2 deleted the fix/rcpp_error_msg branch July 26, 2022 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants