* using log directory ‘/home/hornik/tmp/CRAN_special_noSuggests/robcp.Rcheck’ * using R Under development (unstable) (2025-06-23 r88348) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-19) 14.2.0 GNU Fortran (Debian 14.2.0-19) 14.2.0 * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘robcp/DESCRIPTION’ ... OK * this is package ‘robcp’ version ‘0.3.9’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] OK * 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 serialization versions ... OK * checking whether package ‘robcp’ can be installed ... [12s/12s] OK * used C compiler: ‘gcc-14 (Debian 14.2.0-19) 14.2.0’ * used C++ compiler: ‘g++-14 (Debian 14.2.0-19) 14.2.0’ * checking package directory ... OK * checking for future file timestamps ... 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [4s/4s] OK * checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] 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 ... [0s/0s] ERROR Running examples in ‘robcp-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cor_cusum > ### Title: A CUSUM-type test to detect changes in the correlation. > ### Aliases: cor_cusum > > ### ** Examples > > ### first: generate a time series with a burn-in period of m and a change point > ### k = n/2 > require(mvtnorm) Loading required package: mvtnorm Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘mvtnorm’ > n <- 500 > m <- 100 > N <- n + m > k <- m + floor(n * 0.5) > n1 <- N - k > > ## Spearman's rho: > rho <- c(0.4, -0.9) > > # serial dependence: > theta1 <- 0.3 > theta2 <- 0.2 > theta <- cbind(c(theta1, 0), c(0, theta2)) > q <- rho * sqrt( (theta1^2 + 1) * (theta2^2 + 1) / (theta1 * theta2 + 1)) > # shape matrices of the innovations: > S0 <- cbind(c(1, q[1]), c(q[1], 1)) > S1 <- cbind(c(1, q[2]), c(q[2], 1)) > > e0 <- rmvt(k, S0, 5) Error in rmvt(k, S0, 5) : could not find function "rmvt" Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [9s/9s] ERROR Running ‘testthat.R’ [9s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > #library(robcp) > > test_check("robcp") Loading required package: robcp [ FAIL 2 | WARN 2 | SKIP 4 | PASS 252 ] ══ 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:57:3'): CUSUM test statistic is computed correctly ───── Error in `ginv(sigma)`: could not find function "ginv" ── Error ('test-cor.R:85:5'): CUSUM test for changes in the scale is performed correctly ── Error in `rmvt(k, S0, 5)`: could not find function "rmvt" Backtrace: ▆ 1. └─base::replicate(...) at test-cor.R:83:3 2. └─base::sapply(...) 3. └─base::lapply(X = X, FUN = FUN, ...) 4. └─robcp (local) FUN(X[[i]], ...) [ FAIL 2 | WARN 2 | SKIP 4 | PASS 252 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs