You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, regardless of the coercion, fig.show='hold' seems working.
In addition, removing the coercion still works.
I do not face error reported by rstudio/bookdown#249
I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('knitr'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/knitr').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered:
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.
When output is office formats (e.g., docx) and
fig.show='hold'
, then knitr coercesfig.show='asis'
with warning.This is introduced by f6e3b62#diff-4910cdfe600c3874a655c6951e12daa0 to fix rstudio/bookdown#249 and is expanded by 575e18e#diff-4910cdfe600c3874a655c6951e12daa0 .
However, regardless of the coercion,
fig.show='hold'
seems working.In addition, removing the coercion still works.
I do not face error reported by rstudio/bookdown#249
Although I don't know what made things possible, can we remove the relevant lines?
If not, I think we should also add the treatment here: https://github.com/yihui/knitr/blob/master/R/hooks-md.R#L20
Example Rmd
BTW, when
fig.show='hold'
, captions are not working in the above example.I'm currently working to fix this.
xfun::session_info('knitr')
By filing an issue to this repo, I promise that
xfun::session_info('knitr')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: