Running ‘testthat.R’ [23s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("datadr")
  Loading required package: datadr
  Error in gg() : object 'b' not found
  * Running map/reduce to get missing attributes...
  * Saving connection attributes
  *** finding global variables used in 'fn'... [none]
  *** testing 'fn' on a subset... ok
  * Applying recombination...
  *** finding global variables used in 'fn'... [none]
  *** testing 'fn' on a subset... ok
  * Applying recombination...
  * Saving connection attributes
  * Reading in existing 'ddo' attributes
  All (implemented) attributes have already been computed.
  * Saving connection attributes
  * Verifying parameters...
  * Testing bsv function on a subset ... ok
  * Applying division...
  * Running map/reduce to get missing attributes...
  * Saving connection attributes
  * Running map/reduce to get missing attributes...
  * Verifying parameters...
  * Testing bsv function on a subset ... ok
  * Applying division...
  * Running map/reduce to get missing attributes...
  * Saving connection attributes
  * Reading in existing 'ddo' attributes
  * Reading in existing 'ddf' attributes
  * Running map/reduce to get missing attributes...
  Processing chunk  1 
  Processing chunk  2 
  Processing chunk  3 
  Processing chunk  4 
  Processing chunk  5 
  Processing chunk  6 
  Processing chunk  7 
  Processing chunk  8 
  Processing chunk  9 
  Processing chunk  10 
  Processing chunk  11 
  Processing chunk  12 
  Processing chunk  13 
  Processing chunk  14 
  Processing chunk  15 
  Processing chunk  16 
  -- In file  /tmp/Rtmp3UV4ws/iris.csv 
    Processing chunk  1 
    Processing chunk  2 
    Processing chunk  3 
    Processing chunk  4 
    Processing chunk  5 
    Processing chunk  6 
    Processing chunk  7 
    Processing chunk  8 
    Processing chunk  9 
    Processing chunk  10 
    Processing chunk  11 
    Processing chunk  12 
    Processing chunk  13 
    Processing chunk  14 
    Processing chunk  15 
    Processing chunk  16 
    * End of file - no data for chunk  16 
  1. Failure: drAggregate results match (@test-summary.R#97) ---------------------
  `drRes3` not identical to `res3`.
  Attributes: < Component "row.names": Modes: character, numeric >
  Attributes: < Component "row.names": Lengths: 52, 44 >
  Attributes: < Component "row.names": target is character, current is numeric >
  Component "let": Lengths (52, 44) differ (string compare on first 44)
  Component "byvar": Lengths (52, 44) differ (string compare on first 44)
  Component "Freq": Numeric: lengths (52, 44) differ
  
  
  2. Failure: drAggregate results match (@test-summary.R#98) ---------------------
  `drRes4` not identical to `res4`.
  Attributes: < Component "row.names": Modes: character, numeric >
  Attributes: < Component "row.names": Lengths: 52, 44 >
  Attributes: < Component "row.names": target is character, current is numeric >
  Component "let": Lengths (52, 44) differ (string compare on first 44)
  Component "byvar": Lengths (52, 44) differ (string compare on first 44)
  Component "Freq": Numeric: lengths (52, 44) differ
  
  
  testthat results ================================================================
  OK: 176 SKIPPED: 0 FAILED: 2
  1. Failure: drAggregate results match (@test-summary.R#97) 
  2. Failure: drAggregate results match (@test-summary.R#98) 
  
  Error: testthat unit tests failed
  Execution halted