Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error while using vis_dat with diamonds dataset #75
Here is the error I get when I use vis_dat with diamonds dataset:
Thank you for filing this issue!
Just confirming that I get the same error:
visdat::vis_dat(ggplot2::diamonds) #> Warning in seq_len(nrow(x)): first element used of 'length.out' argument #> Error in mutate_impl(.data, dots): Evaluation error: argument must be coercible to non-negative integer.
Created on 2018-04-03 by the reprex package (v0.2.0).
added a commit
Jun 6, 2018
Thank you for reporting this! This was a bug, fixed by using a better way to create a row number column in a dataframe - see this [line here](4878053#diff-1b62d1c1d07f967b6ebe9bbd20df1348R10
This should now be fixed:
library(ggplot2) library(visdat) packageVersion("visdat") #>  '0.2.4.9000' vis_dat(diamonds)
Created on 2018-06-07 by the reprex package (v0.2.0).