Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(validatedb)
  Loading required package: validate
  
  Attaching package: 'validate'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  > 
  > test_check("validatedb")
  == Failed tests ================================================================
  -- Error (test-compute.R:14:3): multiplication works ---------------------------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules, key = "id") test-compute.R:14:2
   2. \-validatedb::confront(tbl_d, rules, key = "id")
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-confront.R:8:5): Confront: returns a validation object ----------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-confront.R:8:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-confront.R:19:5): Confront: handles linear constraints ----------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-confront.R:19:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-confront.R:36:5): Confront: handles categorical constraints -----
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-confront.R:36:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-confront.R:56:5): Confront: handles conditional constraints -----
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-confront.R:56:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-confront.R:73:5): Confront: warns on not working rules ----------
  Error: unused argument (splice = TRUE)
  Backtrace:
       x
    1. +-testthat::expect_warning(cf <- confront(tbl_d, rules)) test-confront.R:73:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-validate::confront(tbl_d, rules)
    7. \-validatedb::confront(tbl_d, rules)
    8.   \-validatedb:::.local(dat, x, ref, ...)
    9.     \-validatedb::confront.tbl_sql(...)
   10.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   11.         \-validatedb:::rule_works_on_tbl(tbl, x)
   12.           \-validatedb:::confront_tbl_sparse(...)
   13.             \-base::lapply(...)
   14.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-rule_works_on_tbl.R:9:5): rule_works_on_tbl: works with numeric checks --
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. \-validatedb:::rule_works_on_tbl(tbl_d, rules) test-rule_works_on_tbl.R:9:4
   2.   \-validatedb:::confront_tbl_sparse(...)
   3.     \-base::lapply(...)
   4.       \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-rule_works_on_tbl.R:21:5): rule_works_on_tbl: fails on function not on db --
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. \-validatedb:::rule_works_on_tbl(tbl_d, rules) test-rule_works_on_tbl.R:21:4
   2.   \-validatedb:::confront_tbl_sparse(...)
   3.     \-base::lapply(...)
   4.       \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-summary.R:8:5): summary: works on a simple case -----------------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-summary.R:8:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-summary.R:25:5): summary: works with failing rules --------------
  Error: unused argument (splice = TRUE)
  Backtrace:
       x
    1. +-testthat::expect_warning(cf <- confront(tbl_income, rules)) test-summary.R:25:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-validate::confront(tbl_income, rules)
    7. \-validatedb::confront(tbl_income, rules)
    8.   \-validatedb:::.local(dat, x, ref, ...)
    9.     \-validatedb::confront.tbl_sql(...)
   10.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   11.         \-validatedb:::rule_works_on_tbl(tbl, x)
   12.           \-validatedb:::confront_tbl_sparse(...)
   13.             \-base::lapply(...)
   14.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-summary.R:39:5): summary: works on a sparse confrontation -------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules, sparse = TRUE) test-summary.R:39:4
   2. \-validatedb::confront(tbl_d, rules, sparse = TRUE)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl_sparse(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-summary.R:57:5): summary: works with failing rules (sparse) -----
  Error: unused argument (splice = TRUE)
  Backtrace:
       x
    1. +-testthat::expect_warning(cf <- confront(tbl_income, rules, sparse = TRUE)) test-summary.R:57:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-validate::confront(tbl_income, rules, sparse = TRUE)
    7. \-validatedb::confront(tbl_income, rules, sparse = TRUE)
    8.   \-validatedb:::.local(dat, x, ref, ...)
    9.     \-validatedb::confront.tbl_sql(...)
   10.       \-validatedb:::confront_tbl_sparse(tbl = tbl, x = x, key = key)
   11.         \-validatedb:::rule_works_on_tbl(tbl, x)
   12.           \-validatedb:::confront_tbl_sparse(...)
   13.             \-base::lapply(...)
   14.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:11:5): values: returns a list of values ----------------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-values.R:11:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:30:5): values: simplifies... ---------------------------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-values.R:30:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:47:5): values: returns a tbl of values -----------------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-values.R:47:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:65:5): values: returns a data.frame of values ----------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-values.R:65:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:81:5): values: returns a matrix... ---------------------
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-values.R:81:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:97:5): values: returns identical result as validate ----
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules) test-values.R:97:4
   2. \-validatedb::confront(tbl_d, rules)
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  -- Error (test-values.R:122:5): values: returns identical results as validate with key set --
  Error: unused argument (splice = TRUE)
  Backtrace:
      x
   1. +-validate::confront(tbl_d, rules, key = "id") test-values.R:122:4
   2. \-validatedb::confront(tbl_d, rules, key = "id")
   3.   \-validatedb:::.local(dat, x, ref, ...)
   4.     \-validatedb::confront.tbl_sql(...)
   5.       \-validatedb:::confront_tbl(tbl = tbl, x = x, key = key)
   6.         \-validatedb:::rule_works_on_tbl(tbl, x)
   7.           \-validatedb:::confront_tbl_sparse(...)
   8.             \-base::lapply(...)
   9.               \-validatedb:::FUN(X[[i]], ...)
  
  [ FAIL 19 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted