Closed UTNAK closed 4 weeks ago
I have tested using r2u but failed to install "tidyverse". so reverting to ghcr.io/rocker-org/devcontainer-features/r-rig:1
I have tested on github codespace and found some issues.
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/vscode/R/x86_64-pc-linux-gnu-library/4.3/igraph/libs/igraph.so': libglpk.so.40: cannot open shared object file: No such file or directory
--> I have added below commands to .sh file
## Install libglpk40 package in the terminal for igraph
sudo apt-get update
sudo apt install -y libglpk40
## Fix libstdc++.so.6 for Quarto + Reticulate
cd /opt/conda/envs/py39/lib/
sudo cp libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
I have added ./gradlew buil and owlLoad in post-create.sh and it works well now.
I have added post-create.sh instead of manually configure environment using SetUpEnvironment.qmd. It's better to remove this file and using automation to create environment by .sh file at postCreateCommand
Now, I can run the jupyter notebook in github codespace!
Checklist before submitting a merge request
Description of contribution
I have built a Jupyter notebook that has a similar function to analysisShell.
Testing performed
How to Test Expected functionality changes
python select interpreter
-> `py39src/oml/example.com/tutorial2/description/statedictionary.oml
is updated.Additional context
[If needed, you may add additional context]