Skip to content
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

Fix unbalanced knitr chunk delimiters #231

Closed
jgabry opened this issue Nov 2, 2023 · 0 comments · Fixed by #232
Closed

Fix unbalanced knitr chunk delimiters #231

jgabry opened this issue Nov 2, 2023 · 0 comments · Fixed by #232
Assignees

Comments

@jgabry
Copy link
Member

jgabry commented Nov 2, 2023

Notification from Yihui, the knitr maintainer:

Two years ago I announced an upcoming breaking change in knitr: https://yihui.org/en/2021/10/unbalanced-delimiters/ This will affect your loo package on CRAN. I wonder if you could remove the extra backticks of code chunks in your package like this: https://github.com/stan-dev/loo/blob/master/vignettes/loo2-non-factorized.Rmd#L572

You can test by remotes::install_github('yihui/knitr#2306') and rebuilding the package to see if there are any other unbalanced code chunks. Thank you!

@jgabry jgabry self-assigned this Nov 2, 2023
jgabry added a commit that referenced this issue Nov 2, 2023
@jgabry jgabry changed the title Fix unbalanced knitr chunks to avoid CRAN problem Fix unbalanced knitr chunk delimiters Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant