* using log directory 'd:/RCompile/CRANincoming/R-devel/SimBaRepro.Rcheck' * using R Under development (unstable) (2025-06-13 r88311 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'SimBaRepro/DESCRIPTION' ... OK * this is package 'SimBaRepro' version '0.0.0.9000' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Xinlong Du ' New submission Version contains large components (0.0.0.9000) Possibly misspelled words in DESCRIPTION: Repro (2:54) The Description field should not start with the package name, 'This package' or similar. * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'SimBaRepro' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: 'SimBaRepro.Rproj' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... [118s] NOTE Examples with CPU (user + system) or elapsed time > 10s user system elapsed get_CI 37.80 2.42 40.36 plot_grid 35.98 3.36 39.42 confidence_grid 31.82 2.37 34.27 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [18s] ERROR Running 'testthat.R' [18s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(SimBaRepro) > > test_check("SimBaRepro") [ FAIL 12 | WARN 0 | SKIP 0 | PASS 20 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-confidence_grid.R:28:3'): confidence_grid: validates inputs correctly ── `confidence_grid(...)` threw an error with unexpected message. Expected match: "'res' must be a positive integer" Actual message: "unused argument (G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-confidence_grid.R:28:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-confidence_grid.R:39:3'): confidence_grid: validates inputs correctly ── `confidence_grid(...)` threw an error with unexpected message. Expected match: "'res' must be a positive integer" Actual message: "unused argument (G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-confidence_grid.R:39:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-get_CI.R:25:3'): get_CI: input checks ──────────────────────── `get_CI(...)` threw an error with unexpected message. Expected match: "Significance level 'alpha' must be a number" Actual message: "unused arguments (j = 1, G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-get_CI.R:25:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-get_CI.R:36:3'): get_CI: input checks ──────────────────────── `get_CI(...)` threw an error with unexpected message. Expected match: "Significance level 'alpha' must be a number between 0 and 1." Actual message: "unused arguments (j = 1, G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-get_CI.R:36:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-get_CI.R:47:3'): get_CI: input checks ──────────────────────── `get_CI(...)` threw an error with unexpected message. Expected match: "'tol' must be a positive number." Actual message: "unused arguments (j = 1, G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-get_CI.R:47:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-p_value.R:26:3'): p_value: input checks work ───────────────── `p_value(...)` threw an error with unexpected message. Expected match: "Lengths of inputs 'lower_bds' and 'upper_bds' must match." Actual message: "unused argument (G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-p_value.R:26:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-p_value.R:34:3'): p_value: input checks work ───────────────── `p_value(...)` threw an error with unexpected message. Expected match: "'lower_bds' must be smaller than or equal to 'upper_bds' entry-wise." Actual message: "unused argument (G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-p_value.R:34:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-p_value.R:42:3'): p_value: input checks work ───────────────── `p_value(...)` threw an error with unexpected message. Expected match: "'seeds' must be a 2-dimensional object" Actual message: "unused argument (G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-p_value.R:42:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-p_value.R:50:3'): p_value: input checks work ───────────────── `p_value(...)` threw an error with unexpected message. Expected match: "'seeds' must be a numeric matrix or array without NA values." Actual message: "unused argument (G = s_sample)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-p_value.R:50:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-p_value.R:58:3'): p_value: input checks work ───────────────── `p_value(...)` threw an error with unexpected message. Expected match: "'G' must be a function." Actual message: "unused argument (G = c(1, 2))" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-p_value.R:58:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-p_value.R:66:3'): p_value: input checks work ───────────────── `p_value(...)` threw an error with unexpected message. Expected match: "'G' must be a function with exactly two inputs. The first one is a matrix or an array, the second one is a vector." Actual message: "unused argument (G = bad_G)" Backtrace: ▆ 1. └─testthat::expect_error(...) at test-p_value.R:66:3 2. └─testthat:::quasi_capture(...) 3. ├─testthat (local) .capture(...) 4. │ └─base::withCallingHandlers(...) 5. └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) ── Failure ('test-plot_grid.R:11:3'): plot_grid errors ───────────────────────── `plot_grid(...)` threw an error with unexpected message. Expected match: "'indivator_array' needs to be a 2-dimensional object." Actual message: "'indicator_array' needs to be a 2-dimensional object." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-plot_grid.R:11:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─SimBaRepro::plot_grid(...) [ FAIL 12 | WARN 0 | SKIP 0 | PASS 20 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [420s] OK * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 NOTEs