tests/testthat/_snaps/vis-compare.md

vis_compare will not accept two dataframes of differing dims

Code
  vis_compare(iris, iris_add)
Error <rlang_error>
  `vis_compare()` requires identical dimensions of `df1` and `df2`
  The dimensions of `df1` are: 150 and 5
  The dimensions of `df2` are: 150 and 6

vis_compare fails when an object of the wrong class is provided

Code
  vis_compare(iris, AirPassengers)
Error <rlang_error>
  `vis_dat()` requires a <data.frame>
  the object I see has class(es):
  <ts>
Code
  vis_compare(AirPassengers, iris)
Error <rlang_error>
  `vis_dat()` requires a <data.frame>
  the object I see has class(es):
  <ts>
Code
  vis_compare(AirPassengers, AirPassengers)
Error <rlang_error>
  `vis_dat()` requires a <data.frame>
  the object I see has class(es):
  <ts>


Try the visdat package in your browser

Any scripts or data that you put into this service are public.

visdat documentation built on Feb. 16, 2023, 5:53 p.m.