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

printr package causes 2 graphs in dfSummary() rendered output #180

Open
melindahiggins2000 opened this issue Jan 22, 2023 · 0 comments
Open

Comments

@melindahiggins2000
Copy link

I just discovered this behavior using dfSummary() when both the summarytools package and printr package are loaded in an Rmarkdown document.

Here is a reproducible example:

The following Rmarkdown document will produce what you expect using dfSummary():

image

When rendered produces:

image

However, if you add the printr package, then the rendered output includes both the Graph and text.graph. I finally figured it out through trial and error. I am posting this issue as a suggestion to add a note somewhere to warn the user when using dfSummary() to make sure they are not also loading the printr package when rendering Rmarkdown output.

image

When rendered produces:

image

I could not find any easy way to "turn off" the text.graph column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant