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

TODO: The equivalent ctor from `initializer_list` has a specialization for `` to translate `elt` to UTF-8 before assigning. Should we have that here (https://github.com/r-lib/cpp11/blob/main/inst/include/cpp11/r_vector.hpp#L879) too? `named_arg` doesn't do any checking...

use vmaxget / vmaxset here https://github.com/r-lib/cpp11/blob/main/inst/include/cpp11/as.hpp#L187

Is there a better condition we could use, e.g. assert something true rather than three things false? https://github.com/r-lib/cpp11/blob/main/inst/include/cpp11/r_vector.hpp#L1395 Still using 3 conditions, I think it is simpler to ensure that...

I added that here https://github.com/r-lib/cpp11/pull/427. For cpp11armadillo I define a list with 2 matrices, one with the real part and another with the complex part. With this PR it is...

I added a test to verify that 1.0/0.0 (or 1/0) is the same as T/F. The idea was to mimic the double to/from integer as method for logicals.

There was a bug in the matrix class such that attributes cannot be set (ref: https://stackoverflow.com/a/76019987/3720258). This was mentioned in #273. With cpp11 0.5.1 I can add row and column...

From duckdb, see #401. This is fairly severe.

As the header says https://github.com/r-lib/cpp11/blob/main/inst/include/cpp11/matrix.hpp#L229

rchk gives a warning of the form > ignoring variable df as it has address taken, results will be incomplete if used in a function wrapped with `safe` . I...