I moved my largest project onto RStudio Cloud today, hoping I'd be able to use hrbrthemes there (won't work on my Mac). But it doesn't work - and I can't even set the font family in ggplot to "Arial Narrow".
If I do anything to the fonts beside setting a theme (I've been using theme_minimal()), then I get an error.
Here is my plot code, used inside a Rmd document.
speaker_sfvsi %>% ggplot(aes(x = reorder(speaker, SFVSIspeaker), y = SFVSIspeaker, fill = gender)) + geom_bar(stat = "identity") + scale_fill_manual(values = pal) + coord_flip() + labs(title = "SFVS index by gender") + theme_minimal() + theme(text = element_text(family = "Arial Narrow"))
With the specification of Arial Narrow at the end, it will not work. The error msg. is shown in the attached picture.
The ultimate goal would be to use hrbrthemes. But if I can't have that, I'd be happy simply to be able to specify fonts.
This is all happening inside my project: https://rstudio.cloud/spaces/65460/project/1189703
I would appreciate any pointers!