-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
attempst to fix in branch: mewu/fix-issues
- devcontainer started but the rstudio and jupyter-lab is not accessible, after manually run
jupyter lab --ip=0.0.0.0 --no-browser --allow-root --NotebookApp.token='' 2>&1 &
and rstudio-server restart
it seems to work (port 8888 and 8787) until the next restart
- for github actions, installing the quarto shiny extension is automated in https://github.com/InstituteforDiseaseModeling/data_access_library/blob/mewu/fix-issues/r/install_quarto_extensions.expect but after installation, still getting error in
Could not run /workspace/r/shinylive_demo/shinylive as a JSON filter.
Please make sure the file exists and is executable.
Did you intend 'shinylive' as a Lua filter in an extension?
If so, make sure you've spelled the name of the extension correctly.
The original Pandoc error follows below.
Error running filter /workspace/r/shinylive_demo/shinylive:
Could not find executable /workspace/r/shinylive_demo/shinylive
Error running filter /opt/quarto/share/filters/main.lua:
/opt/quarto/share/filters/main.lua:2639: attempt to call a nil value (global 'crash_with_stack_trace')
stack traceback:
/opt/quarto/share/filters/main.lua:2218: in function 'fail'
/opt/quarto/share/filters/main.lua:3797: in field 'Pandoc'
/opt/quarto/share/filters/main.lua:568: in function 'run_emulated_filter'
/opt/quarto/share/filters/main.lua:1334: in local 'callback'
/opt/quarto/share/filters/main.lua:1352: in upvalue 'run_emulated_filter_chain'
/opt/quarto/share/filters/main.lua:1388: in function </opt/quarto/share/filters/main.lua:1385>
Failed to render /workspace/r/shinylive_demo/simple_example.qmd with execution. Rendering without execution...```
The instruction of quarto is not very clean, right now, I will try to improve but basically these steps work for me on windows but not on the GA or devcontainer (ubuntu) https://github.com/InstituteforDiseaseModeling/data_access_library/blob/mewu/fix-issues/r/README.md
3. after rstudio-server restart , I can connect to it (use rstudio as default pwd) but not sure how to set the session default directory to the workspaces (it is annoying for the user to do setwd manually)
Metadata
Metadata
Assignees
Labels
No labels