Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTutorials cannot be launched under Windows because of rmarkdown #133
Comments
|
@yihui Could you take a look at this? |
|
Should be fixed by #134. |
Fix #133: use the highlight.js dependency from rmarkdown
|
Thanks for the fix! I just tested the latest learnr dev version 0.9.2 and everything works as expected again. |
|
This has fixed the problem with learnr::run_tutorial("hello", package = "learnr") but I am still getting the same path error with other learnr tutorials - e.g. learnr::run_tutorial("adventr_01",package='adventr') from https://github.com/profandyfield/adventr |
|
@poldrack You need to delete the .html file and recompile the .Rmd document. |
|
awesome, works now - thanks! |
At least for me the latest two rmarkdown versions 1.7 and 1.8 cause the following error under Windows when launching a learnr tutorial:
Downgrading to version 1.6 using
devtools::install_version("rmarkdown", version = "1.6")solves the issue: