As the title says, I've not been able to render a dashboard format with the newly installed Quarto 1.4.
I also have the newest R version (3.4.4) and the newest RStudio version (2023.12.1 Build 402)
I just have this little code:
title: "Quarto Dashboard Test"
format: dashboard
plot(cars)
This is the error it gives upon rendering:
==> quarto preview Quarto Dashboard Test 001.qmd --to dashboard --no-watch-inputs --no-browse
ERROR: Validation of YAML front matter failed.
ERROR: In file Quarto Dashboard Test 001.qmd
(line 3, columns 9--17) Field "format" has value dashboard, which must instead be 'asciidoc'
2: title: "Quarto Dashboard Test"
3: format: dashboard
~~~~~~~~~
4: ---
ERROR: Render failed due to invalid YAML.
I hope that someone knows how to fix this. All help is appreciated
I'm getting the same error.
ERROR: Validation of YAML front matter failed.
ERROR: In file example dash.qmd
(line 3, columns 9--17) Field "format" has value dashboard, which must instead be 'asciidoc'
---
title: "Palmer Penguins"
format: dashboard
---
## Row
```{r}
```
## Row {.tabset}
```{r}
#| title: Chart 2
```
```{r}
#| title: Chart 3
```
Session
R version 4.3.2 (2023-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.1
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/New_York
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.3.2 tools_4.3.2 rstudioapi_0.15.0
RStudio Version 2023.12.1+402 (2023.12.1+402)
I believe the latest version of RStudio Desktop bundles Quarto 1.3, and dashboards require 1.4. I resolved the issue by downloading a daily build here: https://dailies.rstudio.com/
Thank you for the feedback, I forgot to get back here after I got it to work. I had to install the Quarto program on my computer and it worked with the same code chunk I've posted in my initial post.
This link I mean: Quarto – Get Started