Mauricio "Pachá" Vargas Sepúlveda

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

A tidy (as in less noise and just 1 commit) version of #340 As @krlmlr suggested, it might be better to vendor to `src/vendor` instead of `inst` This PR implements...

As the answer to my [StackOverflow](https://stackoverflow.com/questions/77435112/how-to-write-a-vector-or-integers-coordinates-in-rs-cpp11/77437696#77437696) question says. This example shows that the documentation could be improved. ``` [[cpp11::register]] integers dummyexample(integers x1, integers x2) { int n = x1.size(); writable::integers...

Hi It would be good to have a long list of examples. I created this https://github.com/pachadotdev/cpp11-r-examples for my own learning and reference.

@krlmlr here are my changes in relation to #450 in the issue I detail where to find my changes and how I vendored the headers Closes #450.

# Incorrect write If we open a regular DBI connection, as in the next example, we won't correctly write to Postgres with Postgis correctly configured. ``` library(RPostgres) library(sf) library(archive) con...

Provided that @Antonov548 migrated all to C++11, it makes sense to use vendoring to count on a more robust codebase. I will send a PR for this now, where `vscode-install.r`...

Hi @hadley @krlmlr I have the website databases.pacha.dev where I host access free PSQL databases. How can we use it for testing? I also had MySQL and SQL Server databases...

Hi @hadley @Tazinho @henningsway ! As I mentioned to Hadley, I was interested in working on chapter 25, to which he agreed I have uninstalled R completely, and then tried...

Here's a classic dataset and a classic model that show an error with cmdstanr but not with rstan [qog_std_cs_jan23_stata14.dta.zip](https://github.com/stan-dev/cmdstanr/files/11969061/qog_std_cs_jan23_stata14.dta.zip) # rstan ```r # setwd("~/Downloads") library(dplyr) library(tidyr) library(haven) library(rstan) qog %...

bug

Hi I'm interested in getting this for feglm objects (i.e. quasi-Poisson): ``` d %>% mutate( .cooksd = cooks.distance(fit), .std.resid = MASS::studres(fit), .hat = hatvalues(fit) ) %>% filter(.std.resid < 2 &...