NASA-Openscapes / corn

Base image for the NASA-Openscapes Jupyterhub
MIT License
4 stars 5 forks source link

final steps for updating quarto in the Hub #11

Open jules32 opened 1 year ago

jules32 commented 1 year ago

Hi @betolink ,

I wanted to chat with you about the most up-to-date ways to update quarto in the Hub. I can update these instructions in the README after we finish (https://github.com/NASA-Openscapes/corn#updating-quarto).

Today, following those instructions (including stopping and restarting my server), asking quarto check in the Terminal still returns Version: 1.0.35 rather than 1.2.269 now in the Dockerfile.

When you are back and have time, could we cowork on this together? I'll detail them below. Thank you!


Purpose: I'm hoping this will solve some weird quarto behavior @asteiker and I have been seeing in the Hub, and I'll document them here:

1. R code

quarto preview fails when Amy has an empty R code cell, she gets this error with the following code:

ERROR: Error executing 'Rscript': No such file or directory (os error 2)

Unable to locate an installed version of R. Install R from https://cloud.r-project.org/

image

2. formatting

In my local RStudio (quarto 1.2.269), I'm able to add code chunk headers to indicate the language:

image

But in the Hub it is very grumpy about it: it doesn't handle bash well and then ignores the ones I have for python.

image