learnr icon indicating copy to clipboard operation
learnr copied to clipboard

tutorial does not show code boxes

Open floswald opened this issue 7 years ago • 1 comments

I have a strange issue for some of my students: they can't see the code boxes in my tutorials. Here's a thread https://community.rstudio.com/t/learnr-tutorial-shows-only-output-not-input-code-box/14557

The sessionInfo of one of my students with this problem looks inoccuous enough:

R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252    LC_MONETARY=French_France.1252 LC_NUMERIC=C                   LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base    

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1    yaml_2.2.0

also the console output while running the tutorial:

> library(devtools)
> install_github(repo = "ScPoEcon/ScPoEconometrics")
> library(ScPoEconometrics);runTutorial("chapter2")
Loading required package: shiny

Listening on http://127.0.0.1:3095

Any ideas at all? This is rather big course (ca 210 students), we rely heavily on learnr, and the problem is occurring for about 20 students so far. Any help much appreciated.

floswald avatar Sep 22 '18 14:09 floswald

I have a similar issue with some students. I still don't know what's going on, but for one student we were able to fix it by removing the package with tutorials and then reinstalling it. But at least one other student tried that and it didn't fix the problem.

What makes this especially tricky to troubleshoot is that it doesn't happen to all students, and it doesn't seem to happen with all tutorials either.

turgeonmaxime avatar Oct 03 '20 15:10 turgeonmaxime