* using log directory 'd:/RCompile/CRANincoming/R-devel/robcp.Rcheck' * using R Under development (unstable) (2025-03-05 r87891 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'robcp/DESCRIPTION' ... OK * this is package 'robcp' version '0.3.8' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Sheila Goerz ' New submission Package was archived on CRAN Possibly misspelled words in DESCRIPTION: CUSUM (5:398) Dehling (5:593, 5:654, 5:894) Duerre (5:422) Gerstenberger (5:817) Huberized (5:376) Vogel (5:832) Wendler (5:673, 5:842) Wied (5:953) al (5:604, 5:905, 5:961) et (5:601, 5:902, 5:958) CRAN repository db overrides: X-CRAN-Comment: Archived on 2024-04-08 as issues were not corrected in time. The Description field contains and Fried (2019) , and tests for change detection in Please refer to arXiv e-prints via their arXiv DOI . * 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 'robcp' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 13.3.0' * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: 'Sheila Goerz [aut, cre], Alexander Duerre [aut]' Authors@R: 'Sheila Goerz [aut, cre], Alexander Duerre [aut], Roland Fried [com, ths]' * checking top-level files ... OK * 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 ... WARNING Missing link(s) in Rd file 'robcp-package.Rd': 'psi_cusum' See section 'Cross-references' in the 'Writing R Extensions' manual. Found the following Rd file(s) with Rd \link{} targets missing package anchors: robcp-package.Rd: psi_cusum Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... WARNING Codoc mismatches from Rd file 'lrv.Rd': lrv Code: function(x, method = c("kernel", "subsampling", "bootstrap", "none"), control = list()) Docs: function(x, method = c("kernel", "subsampling", "none"), control = list()) Mismatches in argument default values: Name: 'method' Code: c("kernel", "subsampling", "bootstrap", "none") Docs: c("kernel", "subsampling", "none") * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... ERROR Running examples in 'robcp-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: CUSUM > ### Title: CUSUM Test Statistic > ### Aliases: CUSUM > > ### ** Examples > > # time series with a location change at t = 20 > ts <- c(rnorm(20, 0), rnorm(20, 2)) > > # Huberized CUSUM change point test statistic > CUSUM(psi(ts)) Error in if (fun == "none") { : the condition has length > 1 Calls: CUSUM -> is -> psi Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [34s] ERROR Running 'testthat.R' [33s] Running the tests in 'tests/testthat.R' failed. Complete output: > 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 * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 2 WARNINGs, 2 NOTEs