I think the following might be a bug.
If trying to render "![](<image>)", a gnarly error message is thrown.
library(marquee)
library(grid)
svgfile <- "https://www.r-project.org/logo/Rlogo.svg"
mq <- marquee_grob(
paste0("![](", svgfile, ")"),
classic_style()
)
grid.newpage()
grid.draw(mq)
#> Error in if (any(nchar(PSname, "bytes") > 200)) warning("PostScript font name longer than 200 will be truncated"): missing value where TRUE/FALSE needed
It works fine if there is some text in front of the image.
Hi Thomas,
I think the following might be a bug. If trying to render
"![](<image>)"
, a gnarly error message is thrown.It works fine if there is some text in front of the image.
Created on 2024-05-01 with reprex v2.1.0