8000 Should evaluate provide more colour support? · Issue #129 · r-lib/evaluate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Should evaluate provide more colour support? #129
Open
@hadley

Description

@hadley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0