Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(r2dii.data)
  > 
  > test_check("r2dii.data")
  -- 1. Failure: hasn't changed (@test-data_dictionary.R#2)  ---------------------
  `data_dictionary` has changed from known value recorded in 'ref-data_dictionary'.
  Attributes: < Component "row.names": Numeric: lengths (93, 88) differ >
  Component "dataset": Lengths (93, 88) differ (string compare on first 88)
  Component "dataset": 47 string mismatches
  Component "column": Lengths (93, 88) differ (string compare on first 88)
  Component "column": 60 string mismatches
  Component "typeof": Lengths (93, 88) differ (string compare on first 88)
  Component "typeof": 30 string mismatches
  Component "definition": Lengths (93, 88) differ (string compare on first 88)
  Component "definition": 64 string mismatches
  
  -- 2. Failure: is not different compared to reference (@test-data_dictionary.R#1
  `data_dictionary` not identical to `reference`.
  Attributes: < Component "row.names": Numeric: lengths (93, 88) differ >
  Component "dataset": Lengths (93, 88) differ (string compare on first 88)
  Component "dataset": 47 string mismatches
  Component "column": Lengths (93, 88) differ (string compare on first 88)
  Component "column": 60 string mismatches
  Component "typeof": Lengths (93, 88) differ (string compare on first 88)
  Component "typeof": 30 string mismatches
  Component "definition": Lengths (93, 88) differ (string compare on first 88)
  Component "definition": 64 string mismatches
  
  -- 3. Failure: defines the expected objects (@test-data_dictionary.R#41)  ------
  sort(datasets) not equal to sort(expected_datasets).
  Lengths differ: 16 is not 15
  
  -- 4. Failure: hasn't change (@test-sector_classifications.R#2)  ---------------
  `sector_classifications` has changed from known value recorded in 'ref-sector_classifications'.
  Attributes: < Component "row.names": Numeric: lengths (3246, 2984) differ >
  Component "sector": Lengths (3246, 2984) differ (string compare on first 2984)
  Component "sector": 442 string mismatches
  Component "borderline": Lengths (3246, 2984) differ (comparison on first 2984 components)
  Component "borderline": 356 element mismatches
  Component "code": Lengths (3246, 2984) differ (string compare on first 2984)
  Component "code": 2984 string mismatches
  Component "code_system": Lengths (3246, 2984) differ (string compare on first 2984)
  Component "code_system": 1042 string mismatches
  
  -- 5. Failure: is not different compared to reference (@test-sector_classificati
  `sector_classifications` not identical to `reference`.
  Attributes: < Component "row.names": Numeric: lengths (3246, 2984) differ >
  Component "sector": Lengths (3246, 2984) differ (string compare on first 2984)
  Component "sector": 442 string mismatches
  Component "borderline": Lengths (3246, 2984) differ (comparison on first 2984 components)
  Component "borderline": 356 element mismatches
  Component "code": Lengths (3246, 2984) differ (string compare on first 2984)
  Component "code": 2984 string mismatches
  Component "code_system": Lengths (3246, 2984) differ (string compare on first 2984)
  Component "code_system": 1042 string mismatches
  
  == testthat results  ===========================================================
  [ OK: 38 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Failure: hasn't changed (@test-data_dictionary.R#2) 
  2. Failure: is not different compared to reference (@test-data_dictionary.R#10) 
  3. Failure: defines the expected objects (@test-data_dictionary.R#41) 
  4. Failure: hasn't change (@test-sector_classifications.R#2) 
  5. Failure: is not different compared to reference (@test-sector_classifications.R#10) 
  
  Error: testthat unit tests failed
  Execution halted