Open thomasp85 opened 2 months ago
Unrelated to resizing, but I also encountered a crash when I was (foolishly) trying to modify modify_style()
works on style sets, not individual styles).
Recall that list-assignment of NULL
does not set a list element to NULL
, but rather removes the element from the list.
[!WARNING] Crashes R sessions
library(marquee)
tag <- style()
tag$color <- NULL
style <- classic_style() |>
modify_style("foo", tag)
grob <- marquee_grob("Lorem {.foo ipsum}", style)
I still get the occasional crash when resizing windows... needs to investigate