Closed larnsce closed 1 year ago
Lieber @larnsce - bei uns tritt das Problem so nicht auf bzw. wir können es nicht replizieren. Besteht das Problem bei dir weiterhin? Nehme an, du verfügst auf deinem System über arial?
Danke noch für deine Antwort @tlorusso. Ich habe es mir heute mal wieder angeschaut und bekomme weiterhin die gleiche Fehlermeldung.
Allerdings scheint es an der Gross/Kleinschreibung des Fonts zu liegen:
library(statR)
library(ggplot2)
# Mit theme_stat() Funktion -> ERROR
ggplot(mpg, aes(class,fill = drv))+
geom_bar()+
# Default-Spezifikationen innerhalb theme_stat()
theme_stat(base_size = 11,
axis.label.pos = "top",
axis.lines = "x",
ticks = "x",
minor.grid.lines = FALSE) +
labs(title = "Title", subtitle = "Subtitle", caption = "Caption")
# Mit theme_minimal und "Arial" -> Kein Error
ggplot(mpg, aes(class,fill = drv))+
geom_bar()+
theme_minimal(base_family = "Arial")
# Mit theme_minimal und "arial" -> Error
ggplot(mpg, aes(class,fill = drv))+
geom_bar()+
theme_minimal(base_family = "arial")
In einer RStudio Cloud Instanz bekomme ich es ohne Probleme zum Laufen:
https://rstudio.cloud/content/4316512
Bin auf MacOS und schau mal ob das Problem sonst noch existiert.
I have updated statR to the newest version 2.0.0 and get an error when I try to use the example from the references page for "Visualisierungen": https://statistikzh.github.io/statR/articles/Visualisierungen.html
Following is a reproducible example and my session info.
Created on 2021-07-08 by the reprex package (v2.0.0)