Running 'package_test_runner.R' [20s/15s]
Running the tests in 'tests/package_test_runner.R' failed.
Complete output:
  > 
  > # package to check
  > pkg = "cdata"
  > 
  > # This file is distributed without license requirements, feel free to alter/copy.
  > if(requireNamespace("RUnit", quietly = TRUE)) {
  +   # library("RUnit") # uncomment this if you want RUnit attached during testing
  +   library(pkg, character.only = TRUE)
  +   cdata::run_cdata_tests(verbose = TRUE, require_RUnit_attached = FALSE)
  + }
  Loading required package: wrapr
  [1] "RUnit testing package cdata version 1.1.7"
  
  
  Executing test function test_RowColOps  ...  done successfully.
  
  
  
  Executing test function test_XForm  ...  done successfully.
  
  
  
  Executing test function test_check  ... Error in rowrecs_to_blocks.default(res, controlTable = cT, checkKeys = TRUE) : 
    cdata::rowrecs_to_blocks columnsToCopy do not uniquely key the rows
   done successfully.
  
  
  
  Executing test function test_checks_2  ... Error in check_blocks_to_rowrecs_args(tallTable_columns = colnames(tallTable),  : 
    cdata::check_blocks_to_rowrecs_args control table key values must not be NA
  In addition: Warning message:
  In data.table::melt.data.table(data = data, id.vars = columnsToCopy,  :
    id.vars and measure.vars are internally guessed when both are 'NULL'. All non-numeric/integer/logical type columns are considered id.vars, which in this case are columns []. Consider providing at least one of 'id' or 'measure' vars in future.
  Error in blocks_to_rowrecs.default(data, keyColumns = rowKeyColumns, controlTable = cT,  : 
    cdata::blocks_to_rowrecs: controlTableKeys plus keyColumns do not uniquely index data
  Error in rowrecs_to_blocks.default(data, controlTable = cT, columnsToCopy = colsToCopy,  : 
    cdata::rowrecs_to_blocks columnsToCopy do not uniquely key the rows
  Error in check_blocks_to_rowrecs_args(tallTable_columns = colnames(tallTable),  : 
    cdata::check_blocks_to_rowrecs_args columns being produced collide with copied columns: id
  Error in unpivot_to_blocks.default(z, nameForNewKeyColumn = "meas", nameForNewValueColumn = "value",  : 
    cdata::unpivot_to_blocks nameForNewKeyColumn must not be an existing column name
  Error in check_rowrecs_to_blocks_args(wideTable_columns = colnames(wideTable),  : 
    cdata::check_rowrecs_to_blocks_args columns being produced collide with copied columns: meas
   done successfully.
  
  
  
  Executing test function test_chicks  ...  done successfully.
  
  Loading required package: rquery
  
  
  Executing test function test_complex_example  ...  done successfully.
  
  
  
  Executing test function test_complex_example_list  ...  done successfully.
  
  
  
  Executing test function test_composite_control_keys  ...  done successfully.
  
  
  
  Executing test function test_composite_control_keys_db  ...  done successfully.
  
  
  
  Executing test function test_dates  ... Timing stopped at: 0.162 0.004 0.168
  Error in RUnit::checkTrue(wrapr::check_equiv_frames(d, b)) : 
    Test not TRUE
  
   done successfully.
  
  
  
  Executing test function test_encode  ...  done successfully.
  
  
  
  Executing test function test_read_from_data_algebra  ...  done successfully.
  
  
  
  Executing test function test_factor  ...  done successfully.
  
  
  
  Executing test function test_inv  ...  done successfully.
  
  
  
  Executing test function test_not_seen_level  ...  done successfully.
  
  
  
  Executing test function test_operators  ...  done successfully.
  
  
  
  Executing test function test_seatbelts  ...  done successfully.
  
  
  
  Executing test function test_there_and_back  ...  done successfully.
  
  
  
  Executing test function test_there_and_back_db  ...  done successfully.
  
  
  
  Executing test function test_unique  ...  done successfully.
  
  RUNIT TEST PROTOCOL -- Sun Aug 23 22:34:30 2020 
  *********************************************** 
  Number of test functions: 20 
  Number of errors: 0 
  Number of failures: 1 
  
   
  1 Test Suite : 
  cdata unit tests - 20 test functions, 0 errors, 1 failure
  FAILURE in test_dates: Error in RUnit::checkTrue(wrapr::check_equiv_frames(d, b)) : 
    Test not TRUE
  
  Error in wrapr::run_package_tests(pkg = pkg, verbose = verbose, package_test_dirs = package_test_dirs,  : 
    package cdata had test failures/errors
  Calls: <Anonymous> -> <Anonymous>
  Execution halted