Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RClickhouse)
  > 
  > test_check("RClickhouse")
  Saving _problems/test-agg-25.R
  Saving _problems/test-prefix-13.R
  [ FAIL 2 | WARN 0 | SKIP 25 | PASS 4 ]
  
  ══ Skipped tests (25) ══════════════════════════════════════════════════════════
  • On CRAN (21): 'test-DBI_methods__ClickhouseConnection.R:9:3',
    'test-DBI_methods__ClickhouseConnection.R:31:3',
    'test-DBI_methods__ClickhouseConnection.R:44:3',
    'test-DBI_methods__ClickhouseConnection.R:56:3',
    'test-DBI_methods__ClickhouseConnection.R:66:3',
    'test-DBI_methods__ClickhouseConnection.R:87:3',
    'test-DBI_methods__ClickhouseConnection.R:102:3', 'test-array.R:9:3',
    'test-array.R:13:3', 'test-array.R:17:3', 'test-array.R:23:3',
    'test-array.R:32:3', 'test-array.R:41:3', 'test-enum.R:9:3',
    'test-enum.R:13:3', 'test-escape.R:18:3', 'test-int64.R:9:3',
    'test-regr-25.R:13:3', 'test-uuid.R:9:3', 'test-uuid.R:18:3',
    'test-uuid.R:27:3'
  • empty test (4): , , ,
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-agg.R:25:5'): custom aggregators translated correctly ──────────
  Error in `dbplyr_sql_translation(con)`: <ClickhouseConnection> uses dbplyr's 1st edition interface, which is no
  longer supported.
  ℹ Please contact the maintainer of the package for a solution.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(trans(var(x)), sql("varSamp(`x`)")) at test-agg.R:28:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─RClickhouse (local) trans(var(x))
    5.   └─dbplyr::translate_sql(!!enquo(x), window = FALSE, con = simulate_clickhouse()) at test-agg.R:25:5
    6.     └─dbplyr::translate_sql_(...)
    7.       └─dbplyr:::dbplyr_sql_translation(con)
    8.         └─dbplyr:::check_2ed(con)
    9.           └─cli::cli_abort(...)
   10.             └─rlang::abort(...)
  ── Error ('test-prefix.R:13:5'): custom aggregators translated correctly ───────
  Error in `dbplyr_sql_translation(con)`: <ClickhouseConnection> uses dbplyr's 1st edition interface, which is no
  longer supported.
  ℹ Please contact the maintainer of the package for a solution.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(trans(CaseSensitive(x)), sql("CaseSensitive(`x`)")) at test-prefix.R:16:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─RClickhouse (local) trans(CaseSensitive(x))
    5.   └─dbplyr::translate_sql(!!enquo(x), window = FALSE, con = simulate_clickhouse()) at test-prefix.R:13:5
    6.     └─dbplyr::translate_sql_(...)
    7.       └─dbplyr:::dbplyr_sql_translation(con)
    8.         └─dbplyr:::check_2ed(con)
    9.           └─cli::cli_abort(...)
   10.             └─rlang::abort(...)
  
  [ FAIL 2 | WARN 0 | SKIP 25 | PASS 4 ]
  Error:
  ! Test failures.
  Execution halted