Post #4189612
2026-06-25 21:38 UTC
@noamross@ecoevo.social
I'm not sure if this is the best way, but I tend to put the font files in the inst folder and use showtext to load it when library() is called so a user never really needs to deal with the fonts themselves.
Example: https://github.com/nrennie/RSSthemes/blob/main/R/zzz.R
Replies (1)
-
@noamross@ecoevo.social 2026-06-25 22:51
@nrennie@fosstodon.org That's about the conclusion I was coming to, though I registered the fonts with {systemfonts} instead of {showtext}. (Which may require using the {ragg} device)