Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (17 sloc) 378 Bytes
---
title: "Test: crayon"
---
```{r, include = FALSE}
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
```
```{r}
cat(crayon::red("This is red"), "\n")
cat(crayon::blue("This is blue\n"), "\n")
message(crayon::green("This is green"))
warning(crayon::bold("This is bold"))
```
Some text
```{r, error = TRUE}
stop(crayon::italic("This is italic"))
```
Some more text