Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should evaluate provide more colour support? #129

Open
hadley opened this issue Jun 14, 2024 · 0 comments
Open

Should evaluate provide more colour support? #129

hadley opened this issue Jun 14, 2024 · 0 comments
Labels
feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Jun 14, 2024

Imagine building this Rmd/qmd in RStudio (with colour support) to generate a PDF (without colour support):

```{r}
#| error: true
cli::cli_abort(c(x = "Error"))
```

```{r}
cli::cli_abort(c(x = "Error"))
```

The first error shouldn't use colour because it's emitted into the document; the second error should use colour because it's emitted into the terminal.

@hadley hadley added the feature a feature request or enhancement label Jun 14, 2024
hadley added a commit that referenced this issue Jun 28, 2024
hadley added a commit that referenced this issue Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant