Can we use styler/lintr with Quarto yet? #793
-
Are we able to format and/or lint our R code in Quarto yet? The RStudio styler plug-in is refusing to do so. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @adasguptaAZ, Is this the error you get ? > styler:::style_active_file()
Using style transformers `styler::tidyverse_style()`
Error in `styler:::style_active_file()`:
! Can only style .R, .Rmd and .Rnw files. styler needed to support the new You should update styler package. If you have another issue, this would probably be regarding styler - RStudio Addins are extensions that any package author can add. Hope it helps |
Beta Was this translation helpful? Give feedback.
-
Quarto documents are supported since styler 1.8.0 |
Beta Was this translation helpful? Give feedback.
Quarto documents are supported since styler 1.8.0