-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
Update MAKEFILE to check knitr version #42
Comments
Thoughts on this approach @jdblischak ? Does r-novice-inflammation have code blocks in any of its challenges? |
Moving this discussion over to the lesson-template repo. Hopefully we will be able to change the One True Makefile to support this behaviour, and then I will include those changes here. |
I think this issue can be closed now that the following PR has been incorporated into the lesson-template: |
Yup. Good call. |
…osition fixing transposition of link in markdown
make preview
will only compile the code blocks in the challenges and callouts correctly if knitr is version 1.10.12 or higher. Currently, this requires installing from github: (devtools::install_github("yihui/knitr")).I've written an R script that will throw an error if the knitr version is too low (
tools/check_knitr_version.R
) in Pull Request #41 , but I wasn't able to successfully incorporate it into the Makefile to prevent future contributors from clobbering the code block rendering.The text was updated successfully, but these errors were encountered: