Mauricio "Pachá" Vargas Sepúlveda

Results 122 issues of Mauricio "Pachá" Vargas Sepúlveda

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...

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

some of these are in patches as I saw in the instructions

there's a valgrind error with the current CRAN checks https://cran.r-project.org/web/checks/check_results_duckdb.html I'll try to patch it as I use duckdb almost daily [Additional issues](https://cran.r-project.org/web/checks/check_issue_kinds.html) [valgrind](https://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/duckdb) Check Details Version: 1.4.0 Check: whether...