r-lib / cpp11

cpp11 helps you to interact with R objects using C++ code.
https://cpp11.r-lib.org/
Other
199 stars 46 forks source link

Change instances of `cpp11::stop()` to C++ style exceptions #203

Closed sbearrows closed 3 years ago

sbearrows commented 3 years ago

Using cpp11::stop() internally can cause issues on R versions before 3.5.

Consider switching all instances of cpp11::stop() to C++ exceptions instead.