Running ‘testthat.R’ [16s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dbplyr)
  > 
  > test_check("dbplyr")
  Registering testing src: df OK
  Registering testing src: sqlite OK
  Registering testing src: mysql 
  * Failed to connect to database: Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  
  Registering testing src: postgres 
  * RS-DBI driver: (could not connect ripley@localhost:5432 on dbname "test": could not connect to server: Network is unreachable
  	Is the server running on host "localhost" and accepting
  	TCP/IP connections on port 5432?
  )
  ── 1. Failure: ungrouped output (@test-output.R#14)  ───────────────────────────
  `x` has changed from known value recorded in 'output/mtcars-8-30.txt'.
  8/21 mismatches
  x[8]: "1  21.0  6.00   160 110  "
  y[8]: "1  21.0     6 160.0   110"
  
  x[9]: "2  21.0  6.00   160 110  "
  y[9]: "2  21.0     6 160.0   110"
  
  x[10]: "3  22.8  4.00   108  93.0"
  y[10]: "3  22.8     4 108.0    93"
  
  x[11]: "4  21.4  6.00   258 110  "
  y[11]: "4  21.4     6 258.0   110"
  
  x[12]: "5  18.7  8.00   360 175  "
  y[12]: "5  18.7     8 360.0   175"
  
  ── 2. Failure: ungrouped output (@test-output.R#14)  ───────────────────────────
  `x` has changed from known value recorded in 'output/iris-5-30.txt'.
  Lengths differ: 17 is not 19
  
  ── 3. Failure: ungrouped output (@test-output.R#14)  ───────────────────────────
  `x` has changed from known value recorded in 'output/iris-3-5.txt'.
  Lengths differ: 27 is not 31
  
  ── 4. Failure: ungrouped output (@test-output.R#14)  ───────────────────────────
  `x` has changed from known value recorded in 'output/iris--70.txt'.
  11/17 mismatches
  x[6]: "          <dbl>       <dbl>        <dbl>       <dbl> <chr>  "
  y[6]: "          <dbl>       <dbl>        <dbl>       <dbl>   <chr>"
  
  x[7]: " 1         4.30        3.00         1.10       0.100 setosa "
  y[7]: " 1          4.3         3.0          1.1         0.1  setosa"
  
  x[8]: " 2         4.40        2.90         1.40       0.200 setosa "
  y[8]: " 2          4.4         2.9          1.4         0.2  setosa"
  
  x[9]: " 3         4.40        3.00         1.30       0.200 setosa "
  y[9]: " 3          4.4         3.0          1.3         0.2  setosa"
  
  x[10]: " 4         4.40        3.20         1.30       0.200 setosa "
  y[10]: " 4          4.4         3.2          1.3         0.2  setosa"
  
  ── 5. Failure: ungrouped output (@test-output.R#14)  ───────────────────────────
  `x` has changed from known value recorded in 'output/iris-head-30-80.txt'.
  7/12 mismatches
  x[6]: "         <dbl>       <dbl>        <dbl>       <dbl> <chr>  "
  y[6]: "         <dbl>       <dbl>        <dbl>       <dbl>   <chr>"
  
  x[7]: "1         4.30        3.00         1.10       0.100 setosa "
  y[7]: "1          4.3         3.0          1.1         0.1  setosa"
  
  x[8]: "2         4.40        2.90         1.40       0.200 setosa "
  y[8]: "2          4.4         2.9          1.4         0.2  setosa"
  
  x[9]: "3         4.40        3.00         1.30       0.200 setosa "
  y[9]: "3          4.4         3.0          1.3         0.2  setosa"
  
  x[10]: "4         4.40        3.20         1.30       0.200 setosa "
  y[10]: "4          4.4         3.2          1.3         0.2  setosa"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 382 SKIPPED: 10 FAILED: 5
  1. Failure: ungrouped output (@test-output.R#14) 
  2. Failure: ungrouped output (@test-output.R#14) 
  3. Failure: ungrouped output (@test-output.R#14) 
  4. Failure: ungrouped output (@test-output.R#14) 
  5. Failure: ungrouped output (@test-output.R#14) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted