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

cpp11 stop in constructor DO NOT MERGE #690

Closed
wants to merge 2 commits into from

Conversation

jennybc
Copy link
Member

@jennybc jennybc commented Mar 21, 2022

This is a demo for r-lib/cpp11#219.

Closes #567

I reconfirmed that, in some cases, we can't use `cpp::stop()`, as was previously discovered in 24a8970.

(And yet there are also some `cpp11::stop()` calls from a constructor that *do* work fine, such as the one about being unable to retrieve a sheet from a specific position.)

In any case, I decided to use plain old `Rf_errorcall()` instead of the stringstream workaround.
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.

1 participant