Closed labrax closed 6 years ago
Thanks for pointing this out, will check it out over the next few days.
Can you pls test again after installing dev-current
?
devtools::install_github('dcomtois/summarytools', ref='dev-current')
Thanks Victor!
It is working. Thank you.
Fix was merged into master branch. Thanks!
Hi,
When I was trying to generate a dfSummary of a new dataset I could not due to an error. I could replicate the bug when running this functions on the iris dataset. This error occurs when I have a whole factor column with NAs.
This works:
Now, when I set a factor column to NA it doesn't.
This is the error, identical to my dataset. Error in png(img_png <- tempfile(fileext = ".png"), width = 150, height = 26 : invalid 'height' argument In addition: Warning messages: 1: In max(counts) : no non-missing arguments to max; returning -Inf 2: In max(props 100) : no non-missing arguments to max; returning -Inf
Regards, Victor