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

If a void-returning function marked with `cpp11::register` is indented, cpp11 fails to recognize the void return type and will try to use its result in the wrapper it generates. ```r...

Hi @DavisVaughan I am using cpp11 with great success in the lab. In order to reduce clutter in my workflow, I added some code to be able to roxygenise directly...

See https://stackoverflow.com/q/5079325/3576984 Especially as `std::` is explicitly used: https://github.com/r-lib/cpp11/blob/05c888b0c6f49e7b252b79b028e4719e6d5b299d/inst/include/cpp11/named_arg.hpp#L42

I'm using a `writable::integers` to store results in an iterative process, where I want to use elements from the vector of integers in the process and update them. However, when...

In my R package based on cpp11, I defined an interface (on the C++ side) as an abstract base class, i.e. a class that has a bunch of virtual functions....

It is no longer needed since R >=4.0.0 is required by cpp11, but a few people used it internally - [x] https://github.com/apache/arrow/issues/44924 - [x] https://github.com/r-lib/systemfonts/issues/119

Hi @DavisVaughan I hope you are doing well. Happy holidays ! Here is a PR to copy complex numbers from R to C++ and viceversa. I added multiple tests for...

@krlmlr noticed this: https://github.com/r-lib/cpp11/issues/312 I implemented the nullable external pointer in this PR.