I have the following code chunk in a qmd file which is a chapter in a Quarto book.
```{r}
#| echo: false
message("Error in library(tidyverse) : there is no package called ‘tidyverse’", )
```
When the chapter is rendered, this message appears in black. I would like it to appear in red, since that would be the color a student sees when she actually encounters this error.
How can I change the color outputed from a single R code chunk?