[X] suppress warning message: ("Warning message: attributes are not identical across measure variables; they will be dropped") from the call tidyr::gather_(x, "variables", "value", names(x))$value. This message is not relevant to the end user and should be suppressed. (https://github.com/njtierney/visdat/commit/8cd0bfd33699dd6e0bf1de2e45b82b091f2fb1bf)
[x] Add helper function for the plots, since they seem to be the same or very similar. Perhaps this could be named something like: create_vis_
[x] Put the rows in vis_ and friends as they would be in a dataframe, so it is more intuitive. Note: This was the original use of flip, so that by default the visualisations "read" from top to bottom. This should extend to all plots.
[ ] Should the rows and columns appear to be in same order as the input - sort_type should be off by default.
[x] Should the titles at the bottom of the columns make sense?
[x] turn if (sort_type == TRUE) into if (sort_type), and if (x == FALSE) is into if (!x).
[x] Move vis_compare and vis_guess should to a development version?
These were kindly provided in the rOpenSci onboarding review - https://github.com/ropensci/onboarding/issues/87
[x] change
purrr::dmap
topurrr::map_df
to remove warnings (https://github.com/njtierney/visdat/commit/6564ea25067f272dbd7d31cfacb6cc3a95081767)[X] suppress the warning message and add helper function for: (https://github.com/njtierney/visdat/commit/8cd0bfd33699dd6e0bf1de2e45b82b091f2fb1bf)
("Warning message: attributes are not identical across measure variables; they will be dropped")
from the calltidyr::gather_(x, "variables", "value", names(x))$value
. This message is not relevant to the end user and should be suppressed. (https://github.com/njtierney/visdat/commit/8cd0bfd33699dd6e0bf1de2e45b82b091f2fb1bf)create_vis_
vis_
and friends as they would be in a dataframe, so it is more intuitive. Note: This was the original use offlip
, so that by default the visualisations "read" from top to bottom. This should extend to all plots.sort_type
should be off by default.if (sort_type == TRUE)
intoif (sort_type)
, andif (x == FALSE)
is intoif (!x)
.vis_compare
andvis_guess
should to a development version?