I created a website with quarto (https://github.com/manuelreif/website).
I use netlify to build and deploy the site. On a Blogpost I added a shinylive application. I installed the “shinylive” quarto extension locally and all worked out just fine. When I pushed the post with the r-shinylive chunk as branch deploy, I got this error:
(E) Error running ‘Rscript’ command. Perhaps you need to install / update the ‘shinylive’ R package?
When i removed the shinylive chunk, and pushed again- everthing worked out fine.
[4/8] blog/20240218_ssm/ssm_start/index.qmd
(E) Error running ‘Rscript’ command. Perhaps you need to install / update the ‘shinylive’ R package?
Error:
PandocError {}
Error running filter /tmp/quarto/share/filters/main.lua:
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:40: Error running ‘Rscript’ command. Perhaps you need to install / update the ‘shinylive’ R package?
stack traceback:
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:40: in global ‘throw_quarto_error’
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:86: in global ‘callRShinylive’
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:113: in global ‘callShinylive’
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:286: in global ‘ensureBaseSetup’
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:315: in global ‘ensureLanguageSetup’
…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:414: in function <…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:398>
[C]: in ?
[C]: in method ‘walk’
/tmp/quarto/share/filters/main.lua:224: in local ‘checked_walk’
/tmp/quarto/share/filters/main.lua:276: in function ‘run_emulated_filter’
/tmp/quarto/share/filters/main.lua:942: in local ‘callback’
[string “…”]:1888: in field ‘withScriptFile’
/tmp/quarto/share/filters/main.lua:958: in upvalue ‘run_emulated_filter_chain’
/tmp/quarto/share/filters/main.lua:996: in function </tmp/quarto/share/filters/main.lua:993>
stack traceback:
/tmp/quarto/share/filters/main.lua:224: in local ‘checked_walk’
/tmp/quarto/share/filters/main.lua:276: in function ‘run_emulated_filter’
/tmp/quarto/share/filters/main.lua:942: in local ‘callback’
[string “…”]:1888: in field ‘withScriptFile’
/tmp/quarto/share/filters/main.lua:958: in upvalue ‘run_emulated_filter_chain’
/tmp/quarto/share/filters/main.lua:996: in function </tmp/quarto/share/filters/main.lua:993>
Hi!
I created a website with quarto (https://github.com/manuelreif/website). I use netlify to build and deploy the site. On a Blogpost I added a shinylive application. I installed the “shinylive” quarto extension locally and all worked out just fine. When I pushed the post with the r-shinylive chunk as branch deploy, I got this error:
(E) Error running ‘Rscript’ command. Perhaps you need to install / update the ‘shinylive’ R package?
When i removed the shinylive chunk, and pushed again- everthing worked out fine.
Any idea what I can do to make this work??
THANK YOU!! Manuel
This is the full error message:
Error: Error message Command failed with exit code 1: /tmp/quarto/bin/quarto render
[1/8] blog.qmd r1 [RawInline (Format “html”) “”] r2 [RawInline (Format “html”) “”] r1 [RawInline (Format “html”) “”] r2 [RawInline (Format “html”) “”]
[2/8] blog/20240115_pipeline/index.qmd r1 [RawInline (Format “html”) "<i class="bi-fullscreen “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-fullscreen “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-book-half "style="font-size: 25px;"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-book-half "style="font-size: 25px;"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-file-play “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-file-play “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-file-earmark-pdf “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-file-earmark-pdf “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-hand-index-thumb “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-hand-index-thumb “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-record “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-record “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-signpost-2 “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-signpost-2 “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-rocket “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-rocket “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) “”] r2 [RawInline (Format “html”) “”] r1 [RawInline (Format “html”) “”] r2 [RawInline (Format “html”) “”]
[3/8] blog/20240211_logical/index.qmd r1 [RawInline (Format “html”) "<i class="bi-book-half "style="font-size: 25px;"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-book-half "style="font-size: 25px;"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-cloud-drizzle “style=”"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-cloud-drizzle “style=”"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) "<i class="bi-save "style="font-size: 25px;"role=“img"aria-hidden=“true”>”] r2 [RawInline (Format “html”) "<i class="bi-save "style="font-size: 25px;"role=“img"aria-hidden=“true”>”] r1 [RawInline (Format “html”) “”] r2 [RawInline (Format “html”) “”] r1 [RawInline (Format “html”) “”] r2 [RawInline (Format “html”) “”]
[4/8] blog/20240218_ssm/ssm_start/index.qmd (E) Error running ‘Rscript’ command. Perhaps you need to install / update the ‘shinylive’ R package? Error: PandocError {} Error running filter /tmp/quarto/share/filters/main.lua: …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:40: Error running ‘Rscript’ command. Perhaps you need to install / update the ‘shinylive’ R package?
stack traceback: …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:40: in global ‘throw_quarto_error’ …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:86: in global ‘callRShinylive’ …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:113: in global ‘callShinylive’ …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:286: in global ‘ensureBaseSetup’ …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:315: in global ‘ensureLanguageSetup’ …uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:414: in function <…uild/repo/_extensions/quarto-ext/shinylive/shinylive.lua:398> [C]: in ? [C]: in method ‘walk’ /tmp/quarto/share/filters/main.lua:224: in local ‘checked_walk’ /tmp/quarto/share/filters/main.lua:276: in function ‘run_emulated_filter’ /tmp/quarto/share/filters/main.lua:942: in local ‘callback’ [string “…”]:1888: in field ‘withScriptFile’ /tmp/quarto/share/filters/main.lua:958: in upvalue ‘run_emulated_filter_chain’ /tmp/quarto/share/filters/main.lua:996: in function </tmp/quarto/share/filters/main.lua:993> stack traceback: /tmp/quarto/share/filters/main.lua:224: in local ‘checked_walk’ /tmp/quarto/share/filters/main.lua:276: in function ‘run_emulated_filter’ /tmp/quarto/share/filters/main.lua:942: in local ‘callback’ [string “…”]:1888: in field ‘withScriptFile’ /tmp/quarto/share/filters/main.lua:958: in upvalue ‘run_emulated_filter_chain’ /tmp/quarto/share/filters/main.lua:996: in function </tmp/quarto/share/filters/main.lua:993>