cpp11 icon indicating copy to clipboard operation
cpp11 copied to clipboard

cpp11 helps you to interact with R objects using C++ code.

Results 115 cpp11 issues
Sort by recently updated
recently updated
newest added
trafficstars

Arguably logicals are also "integer like", but the main use case is the all-NA input vectors. When a user enters `xyz(arg = NA)` and arg is intended to be an...

In a recent project I had some issues with `external_pointer` that I wanted to discuss. First, a bit of context: My goal was to make a simple C++ library consisting...

This is a very odd error and is difficult to reproduce; however, I haven't been able to isolate any change in Arrow's code that may have caused this to occur....

Perhaps this was an intentional design decision; however, the behaviour was surprising to me since the other `cpp11::` do this. Maybe it's too expensive to protect here, or maybe just...

Seems like R/CRAN does not want these used publicly anymore starting with 4.5.* See details in #355

Recently, my package `RcppAlgos` started getting NOTEs on several builds from CRAN checks: https://cran.r-project.org/web/checks/check_results_RcppAlgos.html The NOTE is: "Found non-API calls to R: `SETLENGTH`, `SET_TRUELENGTH`" I did many `grep` checks in...

The CI workflow passes the recent PRs except for gcc 4.8 on Ubuntu 20. Here is what the CI says ``` /home/runner/work/_temp/Library/cpp11/include/cpp11/protect.hpp:161:31: warning: format not a string literal and no...

I believe we could expand on `END_CPP11` (or add a sibling). https://github.com/r-lib/cpp11/blob/51f4cd5ad9425a491dedf951a3679346d416e51c/inst/include/cpp11/declarations.hpp#L47-L63 so that it would take parameters, easily generated in `generate_cpp_functions()`, i.e. `package` and `funs$name` https://github.com/r-lib/cpp11/blob/51f4cd5ad9425a491dedf951a3679346d416e51c/R/register.R#L165-L185 so that we...

I was aiming to send along a PR dropping the {mockery} dependency but it's a bit of a bigger project than at first glance despite the small footprint of {mockery}:...