Closed ghost closed 3 years ago
Thanks I can reproduce on Windows with Pandoc 2.5. That is odd that we don't catch that in our CI. I'll check and add tests.
And also try to fix the Lua Filter - it seems like a Pandoc issue. I hope we can do something at the filter level.
Thanks a lot for the report.
Oh I see. I missed the fact that this is working with rmarkdown 2.6 but not 2.7.
From a git bisect, I see that it happens in 433e726ff5aee9cd14a285f756af814c44929c8d. I'll start from there
@davidwales thanks for the report. This should be fixed now in dev version. Sorry for the trouble.
For reference the Pandoc error was:
Error running filter C:\Users\chris\Documents\DEV_R\rmarkdown\inst\rmarkdown\lua\latex-div.lua:
C stack overflow
stack traceback:
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
...
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in function <[string "--[[..."]:826>
[C]: in function 'table.remove'
[string "--[[..."]:829: in metamethod '__newindex'
[string "C:\Users\chris\Documents\DEV_R\rmarkdown\inst..."]:36: in function 'Div'
Error: pandoc document conversion failed with error 83
Thank you!
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.
Checklist
When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:
[x] formatted your issue so it is easier for us to read?
[x] included a minimal, self-contained, and reproducible example?
[x] pasted the output from
xfun::session_info('rmarkdown')
in your issue?[x] upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)? NOTE: I am using the instructions from https://cran.r-project.org/bin/linux/ubuntu/ to get the latest packages, including the
ppa:c2d4u.team/c2d4u4.0+
PPA.[x] installed and tested your bug with the development version of the rmarkdown package using
remotes::install_github("rstudio/rmarkdown")
?ReprEx
I am using the multi-column example from the R Markdown Cookbook:
test.Rmd
:::
::: {.col data-latex="{0.05\textwidth}"} \
:::
::: {.col data-latex="{0.4\textwidth}"} The figure on the left-hand side shows the
cars
data. ::: ::::::columns.tex
Output from
xfun::session_info('rmarkdown')
Error