Skip to content
Discussion options

You must be logged in to vote

There is no "=" in YAML, it's ":".

To define it in code cell:

```{r}
#| eval: false
#| echo: true
#| tidy: true
#| tidy.opts: 
#|   - width.cutoff: 60
```

Or

```{r}
#| eval: false
#| echo: true
#| tidy: true
#| tidy.opts: { width.cutoff: 60 }
```

If the option with the "dash" notation does not work (it should I think), try with the "dot".

To define it globally, see https://quarto.org/docs/computations/r.html#knitr-options.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@mcanouil
Comment options

mcanouil Jun 7, 2023
Collaborator

@cderv
Comment options

cderv Jun 8, 2023
Maintainer

@mcanouil
Comment options

mcanouil Jun 8, 2023
Collaborator

@cderv
Comment options

cderv Jun 8, 2023
Maintainer

@mcanouil
Comment options

mcanouil Jun 8, 2023
Collaborator

Answer selected by Ifitrains
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
yaml-validation Issues with YAML validation and autocompletion in quarto computations
4 participants