-
-
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
Setting message=FALSE chunk opts suppresses fig.cap for PDF output #2032
Comments
Reproduced. With
|
I think this is the minimal reproducible example.
|
I also find that
|
and also in |
@atusy, I am curious about this. Did you found why we get different result if |
That is because the Line 58 in 55a2df9
|
Oh thanks. This seems odd, isn't it ? For me, Am I missing something in what |
I do not know the background, but Lines 286 to 294 in 05ccb07
|
@atusy is this issue in fact the same as #1524 for which you already made a PR #1760 ? Seems directly related as in the first example here, There is definitely something with the plot hook that we need to look into and make sure it outputs correctly between format. Pandoc will soon (hopefully) gains better support for Figure with an environment syntax to not only rely on the |
@cderv I don't know. It does sound like a bug. |
It seems the background is noted by @jjallaire
But I think it is totally fine to include HTML output within md file. |
I'm not sure when this started, but I've tried with the devel version of
knitr
and the issue persists: settingknitr::opts_chunk$set(message = FALSE)
suppresses figure captions when the output is PDF.And it is important for me to have
message=FALSE
to suppress messages such as`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
The text was updated successfully, but these errors were encountered: