See here for my initial look at the issue:
https://github.com/tidyverse/dplyr/issues/5243
I have continued to work on this all week and figured some things out. Essentially, all of the data in my example is required to reproduce the problem and so is ggtext.
The RDS is compressed and uncompresses to about 2 GB in RAM. It is a very large multilayered tibble with premade plots embedded. When I run the Rscript with the entire dataset and ggtext, I get:
This happens consistently for me (session_info's below). If you '#' out library(ggtext) it runs without issue. I've tried it with only slice 1, 2, 3, 1&2, 1&3, 2&3 and it works, but all 3 rows and it segfaults (with ggtext). In Rstudio you get the bomb, I'm using R-gui.
Could you file this with gridtext, please? It's almost certainly not a ggtext issue. ggtext just provides a thin layer on top of gridtext. https://github.com/wilkelab/gridtext/issues
See here for my initial look at the issue: https://github.com/tidyverse/dplyr/issues/5243 I have continued to work on this all week and figured some things out. Essentially, all of the data in my example is required to reproduce the problem and so is ggtext.
You need 3 components: RDS: https://drive.google.com/file/d/1lhz7kOTZTKT7Dt0D5bcmbwSldiOLwe6F/view?usp=sharing RMD: https://gist.github.com/bhive01/6f68c3301dbfb75ba0063db2abbc7f64 Rscript: https://gist.github.com/bhive01/e293135e904745a129165794bd4c0032
The RDS is compressed and uncompresses to about 2 GB in RAM. It is a very large multilayered tibble with premade plots embedded. When I run the Rscript with the entire dataset and ggtext, I get:
This happens consistently for me (session_info's below). If you '#' out
library(ggtext)
it runs without issue. I've tried it with only slice 1, 2, 3, 1&2, 1&3, 2&3 and it works, but all 3 rows and it segfaults (with ggtext). In Rstudio you get the bomb, I'm using R-gui.When I run the script without ggtext:
session_info taken after running without ggtext: https://gist.github.com/bhive01/491477484034ad109b9f6791d99afa75 with ggtext: https://gist.github.com/bhive01/43e7aa0f1e52e5e53d8f48801153d403