Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(bullseye)
  > 
  > test_check("bullseye")
  [ FAIL 20 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-pair_methods.R:3:3'): pair cor ─────────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_cor(iris[c(1, 2, 51, 52, 53), ]) at test-pair_methods.R:3:3
   2.   ├─bullseye::pairwise(dcor, score = method, pair_type = "nn")
   3.   └─bullseye:::pairwise.matrix(dcor, score = method, pair_type = "nn")
  ── Error ('test-pair_methods.R:9:3'): pair cancor ──────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_cancor(iris[1:4, ]) at test-pair_methods.R:9:3
   2.   ├─bullseye::pairwise(d, score = "cancor")
   3.   └─bullseye:::pairwise.data.frame(d, score = "cancor")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:16:5'): pair dcor ───────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_dcor(iris[1:4, ]) at test-pair_methods.R:16:5
   2.   ├─bullseye::pairwise(d, score = "dcor", pair_type = "nn")
   3.   └─bullseye:::pairwise.data.frame(d, score = "dcor", pair_type = "nn")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:24:3'): pair mine ───────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_mine(iris[c(1, 2, 51, 52, 53), ]) at test-pair_methods.R:24:3
   2.   ├─bullseye::pairwise(...)
   3.   └─bullseye:::pairwise.matrix(...)
  ── Error ('test-pair_methods.R:31:3'): pair nmi ────────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_nmi(iris[1:4, ]) at test-pair_methods.R:31:3
   2.   ├─bullseye::pairwise(d, score = "nmi")
   3.   └─bullseye:::pairwise.data.frame(d, score = "nmi")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:39:3'): pair polychor ───────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_polychor(droplevels(iris1)) at test-pair_methods.R:39:3
   2.   ├─bullseye::pairwise(d, score = "polychor", pair_type = "ff")
   3.   └─bullseye:::pairwise.data.frame(d, score = "polychor", pair_type = "ff")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:47:3'): pair polyserial ─────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_polyserial(droplevels(iris1)) at test-pair_methods.R:47:3
   2.   ├─bullseye::pairwise(d, score = "polyserial")
   3.   └─bullseye:::pairwise.data.frame(d, score = "polyserial")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:57:3'): pair tau ────────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_tauB(iris1) at test-pair_methods.R:57:3
   2.   └─bullseye:::pair_tau(d, method = "B", ...)
   3.     ├─bullseye::pairwise(d, score = paste0("tau", method), pair_type = "ff")
   4.     └─bullseye:::pairwise.data.frame(...)
   5.       └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:76:3'): pair uncertainty ────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_uncertainty(droplevels(iris1)) at test-pair_methods.R:76:3
   2.   ├─bullseye::pairwise(d, score = "uncertainty", pair_type = "ff")
   3.   └─bullseye:::pairwise.data.frame(d, score = "uncertainty", pair_type = "ff")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:85:3'): pair gkTau ──────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_gkTau(droplevels(iris1)) at test-pair_methods.R:85:3
   2.   ├─bullseye::pairwise(d, score = "gkTau", pair_type = "ff")
   3.   └─bullseye:::pairwise.data.frame(d, score = "gkTau", pair_type = "ff")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:95:3'): pair gkGamma ────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_gkGamma(droplevels(iris1)) at test-pair_methods.R:95:3
   2.   ├─bullseye::pairwise(d, score = "gkGamma", pair_type = "ff")
   3.   └─bullseye:::pairwise.data.frame(d, score = "gkGamma", pair_type = "ff")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:104:3'): pair chi ───────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_chi(droplevels(iris1)) at test-pair_methods.R:104:3
   2.   ├─bullseye::pairwise(d, score = "chi", pair_type = "ff")
   3.   └─bullseye:::pairwise.data.frame(d, score = "chi", pair_type = "ff")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:111:3'): pair ace ───────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_ace(iris[c(1, 2, 53, 55), ]) at test-pair_methods.R:111:3
   2.   ├─bullseye::pairwise(d, score = "ace")
   3.   └─bullseye:::pairwise.data.frame(d, score = "ace")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_methods.R:118:3'): pair multi ─────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pairwise_multi(iris, scores = c("pair_cor", "pair_cancor")) at test-pair_methods.R:118:3
   2.   ├─base::do.call(what = get(scores[i]), args = list(d = d, handle.na = handle.na))
   3.   └─bullseye (local) `<fn>`(d = `<df[,5]>`, handle.na = TRUE)
   4.     ├─bullseye::pairwise(dcor, score = method, pair_type = "nn")
   5.     └─bullseye:::pairwise.matrix(dcor, score = method, pair_type = "nn")
  ── Error ('test-pair_scagnostics.R:4:3'): pair scagnostics ─────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pair_scagnostics(...) at test-pair_scagnostics.R:4:3
   2.   ├─bullseye::pairwise(d, score = sel_scag[1], pair_type = "nn")
   3.   └─bullseye:::pairwise.data.frame(d, score = sel_scag[1], pair_type = "nn")
   4.     └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pair_scores.R:5:3'): pairwise scores ───────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. └─bullseye::pairwise_scores(iris[c(1, 2, 53, 55), ]) at test-pair_scores.R:5:3
   2.   ├─base::do.call(get(entry$funName), list(dsub, handle.na = handle.na))
   3.   └─bullseye (local) `<fn>`(`<df[,5]>`, handle.na = TRUE)
   4.     ├─bullseye::pairwise(d, score = "cancor")
   5.     └─bullseye:::pairwise.data.frame(d, score = "cancor")
   6.       └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pairwise.R:4:3'): pairwise ─────────────────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. ├─bullseye::pairwise(iris[, 1:4]) at test-pairwise.R:4:3
   2. └─bullseye:::pairwise.data.frame(iris[, 1:4])
   3.   └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-pairwise.R:10:3'): pairwise from matrix ────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. ├─bullseye::pairwise(cor(iris[, 1:4])) at test-pairwise.R:10:3
   2. └─bullseye:::pairwise.matrix(cor(iris[, 1:4]))
  ── Error ('test-plot_pairwise.R:4:3'): plot pairwise ───────────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. ├─bullseye::plot_pairwise(pairwise(iris[1:4, ])) at test-plot_pairwise.R:4:3
   2. │ └─bullseye:::check_pairwise(scores)
   3. ├─bullseye::pairwise(iris[1:4, ])
   4. └─bullseye:::pairwise.data.frame(iris[1:4, ])
   5.   └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  ── Error ('test-plot_pairwise.R:9:3'): plot pairwise linear ────────────────────
  Error in `rownames(m) %||% paste0("V", seq_along(xindex))`: could not find function "%||%"
  Backtrace:
      ▆
   1. ├─bullseye::plot_pairwise_linear(pairwise(iris[1:4, ])) at test-plot_pairwise.R:9:3
   2. │ └─bullseye:::check_pairwise(scores)
   3. ├─bullseye::pairwise(iris[1:4, ])
   4. └─bullseye:::pairwise.data.frame(iris[1:4, ])
   5.   └─bullseye:::pairwise.matrix(dcor, score = score, pair_type = pair_type)
  
  [ FAIL 20 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted