Running ‘testthat.R’ [36s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("dplyr")
  1. Failure: unnamed elements must return data frames (@test-do.R#22) -----------
  error$message does not match "Results 1, 2, 3 must be data frames, not numeric".
  Actual value: "formal argument "na.rm" matched by multiple actual arguments"
  
  
  2. Failure: unnamed elements must return data frames (@test-do.R#24) -----------
  error$message does not match "Results 1, 2, 3 must be data frames, not character".
  Actual value: "formal argument "na.rm" matched by multiple actual arguments"
  
  
  Auto-disconnecting SQLiteConnection
  3. Failure: position must resolve to numeric variables throws error (@test-select-helpers.R#75) 
  error$message does not match "must resolve to integer column positions".
  Actual value: "too few positive probabilities"
  
  
  4. Failure: abort on unknown columns (@test-select.r#107) ----------------------
  error$message does not match "must match column names".
  Actual value: "object 'bar' not found"
  
  
  5. Failure: abort on unknown columns (@test-select.r#108) ----------------------
  error$message does not match "bar, foo".
  Actual value: "object 'bar' not found"
  
  
  testthat results ================================================================
  OK: 2887 SKIPPED: 3 FAILED: 5
  1. Failure: unnamed elements must return data frames (@test-do.R#22) 
  2. Failure: unnamed elements must return data frames (@test-do.R#24) 
  3. Failure: position must resolve to numeric variables throws error (@test-select-helpers.R#75) 
  4. Failure: abort on unknown columns (@test-select.r#107) 
  5. Failure: abort on unknown columns (@test-select.r#108) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted