-
Notifications
You must be signed in to change notification settings - Fork 80
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
knitted output of skimr() summary() function looks strange #453
Comments
Interesting ... I hadn't tried skimr in bookdown recently. we may need to go back to hard coding two blanks at the ends of lines. Could you possibly inspect the html for that block and paste it here? |
The issue is not Bookdown specific. It occurs in R Markdown. Do you know, how to suppress this kind of output and get the output which is the same as in R console? HTML code:
|
So it looks like we need to make sure that the first rows get properly divided into |
If there is an intermediate Markdown code for tables, it may indicate incorrect formatting. Something like this where the end of column 1 is indicated incorrectly: Header of line 1 Header of line 2
-------------- -----------------------
contents 1 contents 2
contents 1 contents 2 |
Right, I think that one of the big inconsistencies in markdown flavors is how tables are marked up. So I bet pandoc is expecting something that is different than what rmarkdown is generating. |
Okay I pushed a fix for this that breaks grouped data but it is in markdown_to_pdf branch. Once I find out why the grouped data isn't working I'll make a PR. But in the meantime feel free to test. It required changing the blank lines that we had added to solid lines, I don't love this, maybe that's something that can be solved also but for now at least all the data are in the correct rows. |
#466 So now it works with group. I had to replace our lovely blank spaces with horizontal lines. It could be that we do that condtionally when knitting, but for now this works. @GegznaV @michaelquinn32 |
Now it looks much better.
Is there an option to have a summary of variables only (without the part, that can be extracted with |
I'm really of mixed minds about the lines because I do feel we added them for a good reason in the prevsious version, there a clearly separate sections. But they do take up a lot of space and are kind of a pain to produce. |
Okay I merged this into V2 as it is, we can always discuss it more. At least now it works better. |
See #473 where I am putting all bookdown issues for now. |
I wrote
skimr::skim(faithful)
and knitted in a bookdown project.The top part of the summary is strange:
skimr v2
The text was updated successfully, but these errors were encountered: