- using R version 4.3.3 (2024-02-29)
- using platform: x86_64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘bullseye/DESCRIPTION’ ... OK
- this is package ‘bullseye’ version ‘0.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘bullseye’ can be installed ... [4s/5s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/4s] NOTE
pairwise.matrix: no visible global function definition for ‘%||%’
Undefined global functions or variables:
%||%
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/2s] ERROR
Running examples in ‘bullseye-Ex.R’ failed
The error most likely occurred in:
> ### Name: pair_ace
> ### Title: Alternating conditional expectations correlation
> ### Aliases: pair_ace
>
> ### ** Examples
>
> pair_ace(iris)
Error in rownames(m) %||% paste0("V", seq_along(xindex)) :
could not find function "%||%"
Calls: pair_ace -> pairwise -> pairwise.data.frame -> pairwise.matrix
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/4s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [14s/16s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘calc_pairwise.Rmd’ using rmarkdown
Quitting from lines 44-46 [unnamed-chunk-3] (calc_pairwise.Rmd)
Error: processing vignette 'calc_pairwise.Rmd' failed with diagnostics:
could not find function "%||%"
--- failed re-building ‘calc_pairwise.Rmd’
--- re-building ‘integrating.Rmd’ using rmarkdown
Quitting from lines 57-62 [corrplot_assoc] (integrating.Rmd)
Error: processing vignette 'integrating.Rmd' failed with diagnostics:
could not find function "%||%"
--- failed re-building ‘integrating.Rmd’
--- re-building ‘vis_pairwise.Rmd’ using rmarkdown
Quitting from lines 52-53 [unnamed-chunk-3] (vis_pairwise.Rmd)
Error: processing vignette 'vis_pairwise.Rmd' failed with diagnostics:
could not find function "%||%"
--- failed re-building ‘vis_pairwise.Rmd’
SUMMARY: processing the following files failed:
‘calc_pairwise.Rmd’ ‘integrating.Rmd’ ‘vis_pairwise.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [6s/7s] OK
- DONE
Status: 3 ERRORs, 1 NOTE
- using check arguments '--no-clean-on-error '