Kevin Ushey
Kevin Ushey
FWIW this appears to work in the development version of RStudio with the development version of `vegalite` (I tested on a Windows VM with RStudio v1.1.70) so this may have...
Any chance you can share a reproducible example?
I've reproduced the issue; I believe it may be an issue in the RStudio IDE and so have filed https://github.com/rstudio/rstudio/issues/10093.
@kanefos, what version of RStudio are you using? The issue should already be resolved in the latest release.
Great, thanks for confirming!
It might be related to some recent changes re: `gsub(..., useBytes = TRUE)`: ``` > text1 text2 gsub("'", "", text1, useBytes = TRUE) [1] "你好" > gsub("'", "", text2, useBytes...
The issue no longer occurs with R 4.2.0: ``` > library(crayon) > text crayon::white(text) [1] "\033[37m你好\033[39m" > crayon::white(crayon::white(text)) [1] "\033[37m\033[37m你好\033[37m\033[39m" ``` and ``` > text1 text2 gsub("'", "", text1, useBytes...
The crash goes away for me if I remove the `#ifndef` here: https://github.com/r-lib/cli/blob/main/src/thread.c#L57-L62 Although we get a (spurious?) warning re: canceling the CLI thread on unload. ``` < ... >...
In my case, I'm running a Windows 11 Insider Preview build for ARM (since I'm on an M1 mac): https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64 It's possible that this only reproduces on Windows 11, or...
Your best hope is to disable TBB when testing on CRAN. This can be done by setting the environment variable ``` Sys.setenv(RCPP_PARALLEL_BACKEND = "tinythread") ``` in your tests. Unfortunately the...