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

I added refactors and test that translate into a push_back that is closer to a 1:1 speed ratio than 1:4 compared to direct assignment. ``` # A tibble: 14 ×...

~I did not want to clash with doubles.hpp and function.hpp, so probably there is a clever way to template my change~ I implemented a naive but effective template in [70c68df](https://github.com/r-lib/cpp11/pull/437/commits/70c68dfd22382dfb377e75beb2e79c43db1f2cdd)

Trying to find if a missing dependency is causing testunit to fail. Tested on 0.5.0 and 0.5.1. Any clues? Thanks ``` > sessionInfo() R version 4.4.2 (2024-10-31) Platform: amd64-portbld-freebsd15.0 Running...

https://github.com/r-lib/cpp11/pull/440 implements this to avoid the need to document the C++ functions by separate.

In #419, @nunotexbsd discovered that the Rcpp sum function fails in the cpp11test package. In any case, cpp11 can be installed from github without problem, it is just the R...

I added that here: https://github.com/r-lib/cpp11/pull/437