You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ragg provides consistent image output across platforms, so we should consider using it for shinytest. It won't make full-page screenshots consistent because other parts of the web page will use system font rendering, but it should make image hashes consistent across platforms.
Agreed. We'll have to be careful to make sure it's stable before we make it the default though.
Note that the fonts aren't necessarily consistent across platforms, so we'll have to figure out how to make that work before it provides any advantages for shinytest. r-lib/ragg#28
Activity
jcheng5 commentedon Oct 11, 2019
You might also consider using it for Shiny itself... if it works as advertised, I can't think of any downsides
wch commentedon Oct 11, 2019
Agreed. We'll have to be careful to make sure it's stable before we make it the default though.
Note that the fonts aren't necessarily consistent across platforms, so we'll have to figure out how to make that work before it provides any advantages for shinytest.
r-lib/ragg#28
hadley commentedon Jul 30, 2020
(FWIW If you need consistent cross-platform fonts you can use https://cran.r-project.org/web/packages/fontquiver/index.html)
hadley commentedon Aug 7, 2020
Is this really in scope for ShinyTest. Isn't it really the responsibility of the underlying app?
hadley commentedon Aug 10, 2020
I'm pretty sure this is out of scope for shinytest, but please feel free to re-open if you think I'm wrong.