You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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():
When rendered produces:
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.
When rendered produces:
I could not find any easy way to "turn off" the text.graph column.
The text was updated successfully, but these errors were encountered:
I just discovered this behavior using
dfSummary()
when both thesummarytools
package andprintr
package are loaded in an Rmarkdown document.Here is a reproducible example:
The following Rmarkdown document will produce what you expect using
dfSummary()
:When rendered produces:
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 usingdfSummary()
to make sure they are not also loading theprintr
package when rendering Rmarkdown output.When rendered produces:
I could not find any easy way to "turn off" the
text.graph
column.The text was updated successfully, but these errors were encountered: