rows SAS: 1191 rows R: 1191 only in SAS: ADURN ADURU only in R: ADUR # A tibble: 0 × 2 # ℹ 2 variables: variable , n_diff --- EXTRA CHECKS --- R version: R version 4.6.1 (2026-06-24 ucrt) haven 2.5.5 dplyr 1.2.1 stringr 1.6.0 tibble 3.3.1 tidyr 1.3.2 lubridate 1.9.5 purrr 1.2.2 readr 2.2.0 class of TRTSDT as read by haven::read_xpt: Date class of ASTDT in SAS file after read_xpt: Date ADUR(R) vs ADURN(xpt): rows differing = 0 ADURU values in xpt: DAY 477 714 TRTEMFL: N Y 65 1126 ASTDTF D count: 15 ASTDT missing: 11 AENDT missing: 473 AOCCFL Y in R: 218 Y in xpt: 218 AOCCSFL Y in R: 550 Y in xpt: 550 AOCCPFL Y in R: 781 Y in xpt: 781 AOCC01FL Y in R: 152 Y in xpt: 152 AOCC02FL Y in R: 3 Y in xpt: 3 AOCC03FL Y in R: 3 Y in xpt: 3 AOCC04FL Y in R: 3 Y in xpt: 3 CQ01NAM non-blank R: 493 xpt: 493 cells compared: 63123 cells differing: 0 columns compared: 53 negative control (3 TRTEMFL cells, 1 ASTDY cell, 1 AENDT cell planted): # A tibble: 3 × 2 variable n_diff 1 ASTDY 1 2 AENDT 1 3 TRTEMFL 3 naive R comparison with missing ASTDT gives: NA as.Date('2013-03') -> ERROR: character string is not in a standard unambiguous format as.Date('2013') -> ERROR: character string is not in a standard unambiguous format lubridate::ymd('2013-03') -> NA