* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/dtlcor.Rcheck’ * using R Under development (unstable) (2026-02-14 r89420) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-02-15 16:38:54 UTC * checking for file ‘dtlcor/DESCRIPTION’ ... OK * this is package ‘dtlcor’ version ‘0.1.0’ * package encoding: UTF-8 * 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 whether package ‘dtlcor’ can be installed ... [11s/11s] OK * checking package directory ... 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 ... 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 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 ... [14s/14s] 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 examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘dtlcor-Ex.R’ failed The error most likely occurred in: > ### Name: dtl_app_get_alpha_t_sim > ### Title: Numerical minimum significance level for the final stage under > ### drop-the-losers (DTL) design > ### Aliases: dtl_app_get_alpha_t_sim > > ### ** Examples > > ## No test: > # Inputs > set.seed(1000) > nsim = 100000 > n = 80 > N = 152 > q_seq = seq(0.19, 0.32, 0.01) > gamma_seq = seq(0.14, 0.34, 0.01) > alpha = 0.025 > delta = 0.05 > > # Use fixed correlation coefficient > dtl_app_get_alpha_t_sim(nsim, n, N, q_seq, gamma_seq, alpha, + fix_rho = 1, delta = delta) Warning in rmvnorm(n = nsim, mean = mu, sigma = Sigma) : sigma is numerically not positive semidefinite Error in `mutate()`: ℹ In argument: `case_when(...)`. Caused by error in `case_when()`: ! `..1 (left)` must be a logical vector, not a logical matrix. Backtrace: ▆ 1. ├─dtlcor::dtl_app_get_alpha_t_sim(...) 2. │ └─base::apply(...) 3. │ └─dtlcor (local) FUN(newX[, i], ...) 4. │ └─dtlcor::dtl_get_alpha_s_sim(...) 5. │ └─stats::uniroot(...) 6. │ └─dtlcor (local) f(lower, ...) 7. │ └─dtlcor:::dtl_get_tier(data_stat, g, t, x) 8. │ └─... %>% dplyr::select(sum_all) 9. ├─dplyr::select(., sum_all) 10. ├─dplyr::mutate(., sum_all = rowSums(across(everything())) > 0) 11. ├─dplyr::select(., -(1:(2 + 2 * length(t)))) 12. ├─dplyr::mutate(...) 13. ├─dplyr:::mutate.data.frame(...) 14. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 15. │ ├─base::withCallingHandlers(...) 16. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 17. │ └─mask$eval_all_mutate(quo) 18. │ └─dplyr (local) eval() 19. ├─dplyr::case_when(...) 20. │ └─vctrs::vec_case_when(...) 21. └─rlang::abort(message = message, call = call) Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/dtlcor.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:39.55, 83.69 + 15.21