Running ‘testthat.R’ [20s/30s]
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: bind_rows handles all NA columns (#493) (@test-binds.R#295)  ────
  res$x inherits from `character` not `factor`.
  
  ── 2. Failure: bind_rows handles all NA columns (#493) (@test-binds.R#303)  ────
  res$x inherits from `character` not `factor`.
  
  ── 3. Failure: JoinStringFactorVisitor and JoinFactorStringVisitor handle NA #68
  `res <- left_join(x, y, by = "Greek")` did not produce any warnings.
  
  ── 4. Failure: JoinStringFactorVisitor and JoinFactorStringVisitor handle NA #68
  `res <- left_join(y, x, by = "Greek")` did not produce any warnings.
  
  ── 5. Failure: anti and semi joins give correct result when by variable is a fac
  `aj_result <- anti_join(big, small, by = "letter")` did not produce any warnings.
  
  ── 6. Failure: anti and semi joins give correct result when by variable is a fac
  aj_result$letter not equal to factor(c("a", "a"), levels = c("a", "b")).
  Types not compatible: character is not integer
  
  ── 7. Failure: anti and semi joins give correct result when by variable is a fac
  `sj_result <- semi_join(big, small, by = "letter")` did not produce any warnings.
  
  ── 8. Failure: anti and semi joins give correct result when by variable is a fac
  sj_result$letter not equal to factor(c("b", "b"), levels = c("a", "b")).
  Types not compatible: character is not integer
  
  ── 9. Failure: mutate works on zero-row grouped data frame (#596) (@test-mutate.
  group_data(res)$b not equal to factor(character(0)).
  Types not compatible: character is not integer
  
  ── 10. Failure: rbind handles all NA columns (#493) (@test-rbind.R#180)  ───────
  res$x inherits from `character` not `factor`.
  
  ── 11. Failure: rbind handles all NA columns (#493) (@test-rbind.R#188)  ───────
  res$x inherits from `character` not `factor`.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 3608 | SKIPPED: 11 | WARNINGS: 31 | FAILED: 11 ]
  1. Failure: bind_rows handles all NA columns (#493) (@test-binds.R#295) 
  2. Failure: bind_rows handles all NA columns (#493) (@test-binds.R#303) 
  3. Failure: JoinStringFactorVisitor and JoinFactorStringVisitor handle NA #688 (@test-joins.r#443) 
  4. Failure: JoinStringFactorVisitor and JoinFactorStringVisitor handle NA #688 (@test-joins.r#452) 
  5. Failure: anti and semi joins give correct result when by variable is a factor (#1571) (@test-joins.r#752) 
  6. Failure: anti and semi joins give correct result when by variable is a factor (#1571) (@test-joins.r#758) 
  7. Failure: anti and semi joins give correct result when by variable is a factor (#1571) (@test-joins.r#760) 
  8. Failure: anti and semi joins give correct result when by variable is a factor (#1571) (@test-joins.r#766) 
  9. Failure: mutate works on zero-row grouped data frame (#596) (@test-mutate.r#406) 
  1. ...
  
  Error: testthat unit tests failed
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted