Package check result: NOTE Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Jin Zhu ’ New maintainer: Jin Zhu Old maintainer(s): Jin Zhu Check: examples, Result: NOTE Examples with CPU time > 2.5 times elapsed time user system elapsed ratio bcov.test 4.285 0.106 0.189 23.233 bd.test 2.435 0.233 0.161 16.571 Check: re-building of vignette outputs, Result: NOTE Re-building vignettes had CPU time 4.2 times elapsed time Changes to worse in reverse depends: Package: DataSimilarity Check: examples New result: ERROR Running examples in ‘DataSimilarity-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: BallDivergence > ### Title: Ball Divergence Based Two- or k-sample Test > ### Aliases: BallDivergence > ### Keywords: htest numeric testing approach > > ### ** Examples > > set.seed(1234) > # Draw some data > X1 <- matrix(rnorm(1000), ncol = 10) > X2 <- matrix(rnorm(1000, mean = 0.5), ncol = 10) > # Calculate Ball Divergence and perform test > if(requireNamespace("Ball", quietly = TRUE)) { + BallDivergence(X1, X2, n.perm = 100) + } Error in match.arg(weight, choices = BD_WEIGHT_TYPE) : 'arg' must be of length 1 Calls: BallDivergence ... do.call -> -> bd.test.default -> match.arg Execution halted Package: DataSimilarity Check: tests New result: ERROR Running ‘testthat.R’ [87s/83s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(DataSimilarity) > > test_check("DataSimilarity") Saving _problems/test-BallDivergence-15.R Using automatic sigma estimation (sigest) for RBF or laplace kernel Using automatic sigma estimation (sigest) for RBF or laplace kernel [ FAIL 1 | WARN 0 | SKIP 7 | PASS 888 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • empty test (7): , , , , , , ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-BallDivergence.R:15:7'): (code run outside of `test_that()`) ─── Error in `match.arg(weight, choices = BD_WEIGHT_TYPE)`: 'arg' must be of length 1 Backtrace: ▆ 1. └─DataSimilarity (local) testBallDivergence(1) at test-BallDivergence.R:66:1 2. └─DataSimilarity::BallDivergence(X1, X2, n.perm = 0, seed = i) at test-BallDivergence.R:15:7 3. ├─base::do.call(...) 4. ├─Ball (local) ``(...) 5. └─Ball:::bd.test.default(...) 6. └─base::match.arg(weight, choices = BD_WEIGHT_TYPE) [ FAIL 1 | WARN 0 | SKIP 7 | PASS 888 ] Error: ! Test failures. Execution halted