No results found
We couldn't find anything using that term, please try searching for something else.
2024-11-27 bug description Each time I run quarto render in RStudio, I always get this error that quarto is unable to find installed version of R. I have attach
Each time I run quarto render in RStudio, I always get this error that quarto is unable to find installed version of R. I have attached a screenshot below.
Here is my session info:
R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8
[2] LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: Africa/Lagos
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
other attached packages:
[1] quarto_1.2
loaded via a namespace (and not attached):
[1] digest_0.6.31 later_1.3.1 fastmap_1.1.1
[4] xfun_0.39 knitr_1.43 htmltools_0.5.5
[7] rmarkdown_2.21 ps_1.7.5 cli_3.6.1
[10] processx_3.8.1 compiler_4.3.0 rstudioapi_0.14
[13] tools_4.3.0 evaluate_0.21 yaml_2.3.7
[16] Rcpp_1.0.10 rlang_1.1.1 jsonlite_1.8.4
Here is the output from quarto check:
$ quarto check
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.2: OK
ERROR: Theme file compilation failed:
Stack trace:
at dartCommand (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:38385:15)
at eventLoopTick (ext:core/01_core.js:181:11)
at async checkVersions (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:85221:26)
at async check (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:85178:13)
at async Command.fn (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:85406:5)
at async Command.execute (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:8105:13)
at async quarto (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:102325:5)
at async file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:102343:9
Please I will like to know how I can fix this?, but I can see that quarto check shows a potential problem that theme file compilation failed but I have struggled for days now and I am unable to fix this. Thank you very much all.
---
title: "Debugging"
author: "Oluwafemi Oyedele"
format: html
editor: visual
---
# Quarto
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org/.
# Running Code
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
```{r}
1 + 1
```
You can add options to executable code like this
```{r}
#| echo: false
2 * 2
```
The echo: false option disables the printing of code (only output is displayed).
I is expect expect this document to give me an html output when I run Quato render in rstudio
When I render the document in RStudio it will give me an error that quarto is unable to find installed version of R
R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8
[2] LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: Africa/Lagos
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
other attached packages:
[1] quarto_1.2
loaded via a namespace (and not attached):
[1] digest_0.6.31 later_1.3.1 fastmap_1.1.1
[4] xfun_0.39 knitr_1.43 htmltools_0.5.5
[7] rmarkdown_2.21 ps_1.7.5 cli_3.6.1
[10] processx_3.8.1 compiler_4.3.0 rstudioapi_0.14
[13] tools_4.3.0 evaluate_0.21 yaml_2.3.7
[16] Rcpp_1.0.10 rlang_1.1.1 jsonlite_1.8.4
$ quarto check
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.2: OK
ERROR: Theme file compilation failed:
Stack trace:
at dartCommand (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:38385:15)
at eventLoopTick (ext:core/01_core.js:181:11)
at async checkVersions (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:85221:26)
at async check (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:85178:13)
at async Command.fn (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:85406:5)
at async Command.execute (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:8105:13)
at async quarto (file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:102325:5)
at async file:///C:/Users/USER/AppData/Local/Programs/Quarto/bin/quarto.js:102343:9
But I is know do nt know how to fix the theme file compilation fail