I have been using your wonderful package, unfortunately, I started getting errors across all of my Rmarkdown and scripts. This started happening about a week ago.
For example:
p_HR_all <- final_result %>% ggplot(aes(x = Time, y = HR, color=Group)) + geom_smooth(method = "loess", se = TRUE) + labs(title = "", x = "Time (seconds)", y = "HR (bpm)") + theme_prism() + scale_x_continuous(limits = c(0, 180), breaks = seq(0, 180, 60)) p_HR_all
and the error would be:
Error in plot_theme():
! The legend.text.align theme element is not defined in the element hierarchy.
Backtrace:
base (local) <fn>(x)
ggplot2:::print.ggplot(x)
ggplot2:::ggplot_gtable.ggplot_built(data)
ggplot2:::plot_theme(plot)
Error in plot_theme(plot) :
Hello
I have been using your wonderful package, unfortunately, I started getting errors across all of my Rmarkdown and scripts. This started happening about a week ago.
For example:
p_HR_all <- final_result %>% ggplot(aes(x = Time, y = HR, color=Group)) + geom_smooth(method = "loess", se = TRUE) + labs(title = "", x = "Time (seconds)", y = "HR (bpm)") + theme_prism() + scale_x_continuous(limits = c(0, 180), breaks = seq(0, 180, 60)) p_HR_all
and the error would be:
Error in
plot_theme()
: ! Thelegend.text.align
theme element is not defined in the element hierarchy. Backtrace:<fn>
(x)hopefully is a quick fix. Thank you