R Under development (unstable) (2025-03-05 r87891 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > #library(robcp) > > test_check("robcp") Loading required package: robcp [ FAIL 3 | WARN 0 | SKIP 4 | PASS 229 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-Hodges_Lehmann.R:77:3', 'test-Wilcox.R:95:3', 'test-huber_cusum.R:20:3', 'test-pKSdist.R:20:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CUSUM.R:23:3'): CUSUM test statistic is computed correctly ───── Error in `if (fun == "none") { return(y) }`: the condition has length > 1 Backtrace: ▆ 1. └─robcp::psi(x) at test-CUSUM.R:23:3 ── Error ('test-psi.R:5:3'): output is of the same format as input ───────────── Error in `if (fun == "none") { return(y) }`: the condition has length > 1 Backtrace: ▆ 1. └─robcp:::testFormat(psi) at test-psi.R:5:3 2. └─robcp (local) fun(x) at D:\RCompile\CRANincoming\R-devel\robcp.Rcheck\tests\testthat\helpers.R:4:3 ── Error ('test-psi_cumsum.R:5:3'): output is of the same format as input ────── Error in `if (fun == "none") { return(y) }`: the condition has length > 1 Backtrace: ▆ 1. └─robcp:::testFormat(psi_cumsum) at test-psi_cumsum.R:5:3 2. └─robcp::psi(X) at D:\RCompile\CRANincoming\R-devel\robcp.Rcheck\tests\testthat\helpers.R:20:3 [ FAIL 3 | WARN 0 | SKIP 4 | PASS 229 ] Error: Test failures Execution halted