I am wondering how to make a title in blue and clickable in ggplot2?
library(ggplot2)
library(htmltools)
p <- ggplot(mpg, aes(displ, hwy, colour = class)) +
geom_point() +
labs(title = tags$a("ggplot2 Package", href = "https://ggplot2.tidyverse.org/"))
ggsave(filename = "test.pdf",
plot = p,
device = cairo_pdf,
dpi = 500)