Kevin Ushey

Results 144 comments of Kevin Ushey

For reference, here's what I see on my Ubuntu 22.04 VM... ``` > # install.packages("microbenchmark") > # remotes::install_github('dipterix/ravetools@2a46f7') > > a = matrix(1:10,2) > for (i in 1:10) + ravetools:::columnMedian(a,...

Are we sure we want to use HTML here? If we just want to allow some small subset of Markdown we could consider just using a JS library on the...

E.g. we could use showdown: https://github.com/showdownjs/showdown

If I recall, (and sorry for the lack of context; conference brain) there was one issue with `jsonlite` (or another package?) regarding how R `tryCatch()` handlers interacted with the UnwindProtect...

I filed https://github.com/stan-dev/rstan/pull/930 to help resolve this.

Now that `renv` is on CRAN, I would strongly recommend evaluating it as a replacement for Packrat here. Hopefully the headaches that @sdhutchins bumped into are now gone with `renv`;...

FWIW I can't reproduce any of the issues reported here on macOS: ``` > sessionInfo() R Under development (unstable) (2022-09-18 r82870) Platform: aarch64-apple-darwin21.6.0 (64-bit) Running under: macOS Monterey 12.6 Matrix...

Thanks; I can reproduce now. I'm trying to see if I can unwind the issue at all... R reference classes (which Rcpp Modules are) register their finalizers here: https://github.com/wch/r-source/blob/18d16095f36e28862d125d88659bda28d93d0269/src/library/methods/R/refClass.R#L202-L203 One...

Given that the bug goes away with something as simple as: ``` trace(reg.finalizer, quote({ tryCatch(e$.self$finalize, error = identity) }), print = FALSE) ``` It's almost surely some kind of GC...