-
Notifications
You must be signed in to change notification settings - Fork 65
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
Pandoc error with pander
and pandoc 2.0
#320
Comments
Are you sure it's a
|
It may not be a pander issue exactly, but using `knitr::kable` doesn't
throw the error. Have you tried using `rmarkdown::render` and not
`pandoc`? It may be the combination of the `render` and `pander` that's
causing an issue.
John
…On Tue, Mar 6, 2018 at 5:17 AM, Gergely Daróczi ***@***.***> wrote:
Are you sure it's a pander issue? Eg pander is generating some markdown
failling pandoc? Checking the below:
***@***.***:/tmp$ /usr/bin/pandoc -v
pandoc 2.1.1
Compiled with pandoc-types 1.17.3, texmath 0.10.1, skylighting 0.6
Default user data directory: /root/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
***@***.***:/tmp$ /usr/bin/pandoc -t html
---------------------
V1 V2 V3
----- ------- -------
hey DICOM NIfTI
---------------------
<table style="width:31%;">
<colgroup>
<col style="width: 8%" />
<col style="width: 11%" />
<col style="width: 11%" />
</colgroup>
<thead>
<tr class="header">
<th style="text-align: center;">V1</th>
<th style="text-align: center;">V2</th>
<th style="text-align: center;">V3</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: center;">hey</td>
<td style="text-align: center;">DICOM</td>
<td style="text-align: center;">NIfTI</td>
</tr>
</tbody>
</table>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#320 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBnroyjFlAmxg1U4hl9Xg9ztPrIePeUks5tbmJIgaJpZM4Scm4f>
.
|
I have the same error trying to render the following markdown table:
It seems to have to do with the length of the last cell in the last line, as if I shorten it, I don't get the error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example Rmd where this occurs:
break_pandoc.zip
I have
pander * 0.6.1 2017-08-06 CRAN (R 3.4.1)
and I get the following error:Session Information
The text was updated successfully, but these errors were encountered: