Running ‘testthat.R’ [10s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Copyright (c) Facebook, Inc. and its affiliates.
  > # All rights reserved.
  > #
  > # This source code is licensed under the BSD-style license found in the
  > # LICENSE file in the root directory of this source tree.
  > 
  > library("testthat")
  > library("DBI")
  > library("RPresto")
  > 
  > test_check("RPresto")
  ── Skip (test-bigint_handling.R:12:3): Non 32-bit integers give warning ────────
  Reason: On CRAN
  
  ── Skip (test-data_types.R:17:3): Queries return the correct primitive types ───
  Reason: On CRAN
  
  ── Skip (test-data_types.R:33:3): Queries return the correct array types ───────
  Reason: On CRAN
  
  ── Skip (test-data_types.R:55:3): Queries return the correct map types ─────────
  Reason: On CRAN
  
  ── Skip (test-data_types.R:76:3): all data types work ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test-dbClearResult.R:12:3): dbClearResult works with live database ────
  Reason: On CRAN
  
  ── Skip (test-dbDisconnect.R:12:3): dbDisconnect works with live database ──────
  Reason: On CRAN
  
  ── Skip (test-dbExistsTable.R:12:3): dbExistsTable works with live database ────
  Reason: On CRAN
  
  ── Skip (test-dbFetch.R:12:3): dbFetch works with live database ────────────────
  Reason: On CRAN
  
  ── Skip (test-dbGetInfo.R:12:3): dbGetInfo works with live database ────────────
  Reason: On CRAN
  
  ── Skip (test-dbGetRowCount.R:12:3): dbGetRowCount works with live database ────
  Reason: On CRAN
  
  ── Skip (test-dbGetStatement.R:12:3): dbGetStatement works with live database ──
  Reason: On CRAN
  
  ── Skip (test-dbHasCompleted.R:12:3): dbHasCompleted works with live database ──
  Reason: On CRAN
  
  ── Skip (test-dbIsValid.R:12:3): dbIsValid works with live database ────────────
  Reason: On CRAN
  
  ── Skip (test-dbListFields.R:12:3): dbListFields works with live database ──────
  Reason: On CRAN
  
  ── Skip (test-dbListTables.R:12:3): dbListTables works with live database ──────
  Reason: On CRAN
  
  ── Skip (test-dbSendQuery.R:12:3): dbSendQuery works with live database ────────
  Reason: On CRAN
  
  ── Skip (test-db_explain.R:12:3): db_explain works with live database ──────────
  Reason: On CRAN
  
  ── Skip (test-db_query_fields.R:12:3): db_query_fields works with live database 
  Reason: On CRAN
  
  ── ERROR (???): db_query_fields works with mock ────────────────────────────────
  Error: No mocks for url: http://localhost:8000/v1/statement, request_body: SELECT * FROM ((SELECT 1 AS a, 't' AS b) "a") "q01" WHERE 1 = 0
  Backtrace:
      █
   1. ├─dplyr::db_query_fields(...)
   2. └─RPresto:::db_query_fields.PrestoConnection(...)
   3.   ├─DBI::dbGetQuery(con, fields)
   4.   └─RPresto::dbGetQuery(con, fields)
   5.     ├─DBI::dbSendQuery(conn, statement, ...)
   6.     └─RPresto::dbSendQuery(conn, statement, ...)
   7.       └─httr::POST(url, body = enc2utf8(statement), config = headers)
  
  ── Skip (test-dplyr.integration.R:12:3): dplyr integration works ───────────────
  Reason: On CRAN
  
  ── Skip (test-fetch.R:12:3): fetch works with live database ────────────────────
  Reason: On CRAN
  
  ── Skip (test-fetch.R:71:3): fetch works with duplicate column names ───────────
  Reason: On CRAN
  
  ── Skip (test-integration.R:29:3): Integration tests work ──────────────────────
  Reason: On CRAN
  
  ── Skip (test-session.property.R:21:3): session properties can be configured in 
  Reason: On CRAN
  
  ── Skip (test-session.timezone.R:23:3): session.timezone works ─────────────────
  Reason: On CRAN
  
  ── Skip (test-tbl.src_presto.R:12:3): dplyr::tbl works ─────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (30)
  ● non utf8 locale (1)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (???): db_query_fields works with mock
  
  [ FAIL 1 | WARN 0 | SKIP 31 | PASS 284 ]
  Error: Test failures
  Execution halted