-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorials 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! |
Import instead of copying functions from rmarkdown.
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:The text was updated successfully, but these errors were encountered: