Skip to content
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

Rmarkdown table gets corrupted when knitted to Markdown #1222

Closed
lucasmation opened this issue Jun 7, 2016 · 4 comments
Closed

Rmarkdown table gets corrupted when knitted to Markdown #1222

lucasmation opened this issue Jun 7, 2016 · 4 comments
Milestone

Comments

@lucasmation
Copy link

Explained here:
http://stackoverflow.com/questions/37679721/rmarkdown-table-gets-corrupted-when-knitted-to-markdown

@yihui
Copy link
Owner

yihui commented Jun 9, 2016

Where is your minimal, self-contained, and reproducible example?

@lucasmation
Copy link
Author

lucasmation commented Jun 9, 2016

Sorry, I guess the Stack Overflow link was a bit generic.

I hope this helps:

To reproduce the example:
In Rstudio: file> new project > new directory > new package > create a package.
Now, following instructions on creating a README file from Hadley's Packages Book run:

devtools::use_readme_rmd()

`Now insert an Rmardown table in the README.Rmd file

Table Header  | Second Header
------------- | -------------
Table Cell | Cell 2
Cell 3 | Cell 4 

Then press the knitr button. This will update README.md to include:

Table Header | Second Header ------------- | ------------- Table Cell | Cell 2 Cell 3 | Cell 4

Open README.md in Rstudio and compile to HTML. This shows the above text is not rendered as a table.

@yihui
Copy link
Owner

yihui commented Jun 10, 2016

I cannot reproduce it with the latest versions of RStudio (0.99.1208) and rmarkdown.

@yihui yihui added this to the v1.14 milestone Jun 10, 2016
@yihui yihui closed this as completed Jul 7, 2016
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants