tests/testthat/_snaps/class_compare.md

Class comparison works as expected when enabled

Code
  diffdf(iris, iris, check_df_class = TRUE)
Output
  No issues were found!
Code
  diffdf(tibble(iris), iris, suppress_warnings = TRUE, check_df_class = TRUE)
Output
  Differences found between the objects!

  Summary of BASE and COMPARE
    ===================================================
      PROPERTY             BASE                COMP    
    ---------------------------------------------------
        Name           tibble(iris)            iris    
       Class     "tbl_df, tbl, data.frame"  data.frame 
      Rows(#)               150                150     
     Columns(#)              5                  5      
    ---------------------------------------------------


Try the diffdf package in your browser

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

diffdf documentation built on Sept. 30, 2024, 9:25 a.m.