-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
chunk names, dots and plots #321
Comments
you have been warned in the documentation: http://yihui.name/knitr/options but you might be right -- I should replace dots with more robust characters for LaTeX |
In my case, I was copy/pasting some variables names to chunk names for diagnosis purposes and dots slipped past me. I'm just saying it would be nice to have a warning when knitting. |
I agree. I'll do it. Thanks! |
Should be fixed now. BTW, note |
The fix was problematic. I should have only fixed |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
I've noticed that if one (accidently) uses chunk name with dots, the result plot will not behave as expected - it will not produce an image, but it will "plot". If one uses
fig.cap
argument, there will be figure caption. Just no plot. It would be helpful if the diagnostic output of "knitting" would indicate an invalid chunk name which may result in "unexpected behavior".The text was updated successfully, but these errors were encountered: