Code
diffdf(x1, x2, suppress_warnings = TRUE, check_column_order = TRUE)
Output
Differences found between the objects!
Summary of BASE and COMPARE
==================================================================
PROPERTY BASE COMP
------------------------------------------------------------------
Name x1 x2
Class "tbl_df, tbl, data.frame" "tbl_df, tbl, data.frame"
Rows(#) 1 1
Columns(#) 4 4
------------------------------------------------------------------
There are differences in the column ordering between BASE and COMPARE !!
===================================
COLUMN BASE-INDEX COMPARE-INDEX
-----------------------------------
z 3 4
q 4 3
-----------------------------------
Code
diffdf(x1, x2, suppress_warnings = TRUE, check_column_order = TRUE)
Output
Differences found between the objects!
Summary of BASE and COMPARE
==================================================================
PROPERTY BASE COMP
------------------------------------------------------------------
Name x1 x2
Class "tbl_df, tbl, data.frame" "tbl_df, tbl, data.frame"
Rows(#) 1 1
Columns(#) 4 3
------------------------------------------------------------------
There are differences in the column ordering between BASE and COMPARE !!
===================================
COLUMN BASE-INDEX COMPARE-INDEX
-----------------------------------
z 3 2
q 4 3
-----------------------------------
There are columns in BASE that are not in COMPARE !!
=========
COLUMNS
---------
y
---------
Code
diffdf(x1, x2, suppress_warnings = TRUE, check_column_order = TRUE)
Output
Differences found between the objects!
Summary of BASE and COMPARE
==================================================================
PROPERTY BASE COMP
------------------------------------------------------------------
Name x1 x2
Class "tbl_df, tbl, data.frame" "tbl_df, tbl, data.frame"
Rows(#) 1 1
Columns(#) 4 4
------------------------------------------------------------------
There are columns in BASE that are not in COMPARE !!
=========
COLUMNS
---------
y1
---------
There are columns in COMPARE that are not in BASE !!
=========
COLUMNS
---------
y2
---------
Code
diffdf(d1, d2, suppress_warnings = TRUE, check_column_order = TRUE)
Output
Differences found between the objects!
Summary of BASE and COMPARE
====================================
PROPERTY BASE COMP
------------------------------------
Name d1 d2
Class data.frame data.frame
Rows(#) 0 0
Columns(#) 3 3
------------------------------------
There are differences in the column ordering between BASE and COMPARE !!
===================================
COLUMN BASE-INDEX COMPARE-INDEX
-----------------------------------
y 2 3
z 3 2
-----------------------------------
Code
diffdf(d1, d2, suppress_warnings = TRUE)
Output
No issues were found!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.