* using log directory 'd:/Rcompile/CRANpkg/local/4.6/myTAI.Rcheck' * using R version 4.6.0 alpha (2026-03-28 r89738 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-03-30 17:09:44 UTC * checking for file 'myTAI/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'myTAI' version '2.3.5' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'myTAI' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... INFO installed size is 8.8Mb sub-directories of 1Mb or more: doc 6.1Mb libs 1.1Mb * checking package directory ... OK * checking 'build' 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [10s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 ... [4s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [6s] ERROR Running examples in 'myTAI-Ex.R' failed The error most likely occurred in: > ### Name: diagnose_test_robustness > ### Title: Diagnose Test Robustness > ### Aliases: diagnose_test_robustness > > ### ** Examples > > # Diagnose flatline test robustness > p <- example_phyex_set > robustness <- diagnose_test_robustness(stat_flatline_test, + p |> select_genes(p@gene_ids[1:30]), + sample_sizes=c(10,20), + plot_result=FALSE, + num_reps=2) Computing: [========================================] 100% (done) Warning in dgamma(c(0.0139222951622448, 0.0139222951622448, 0.0139222951622448, : NaNs produced Error in `purrr::map()`: ℹ In index: 1. Caused by error in `if (ks_result$p.value > max_p_fit_v) ...`: ! missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─myTAI::diagnose_test_robustness(...) 2. │ ├─purrr::map_dbl(...) 3. │ │ └─purrr:::map_("double", .x, .f, ..., .progress = .progress) 4. │ │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 5. │ └─purrr::map(rep(sample_sizes, each = num_reps), f) 6. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 7. │ ├─purrr:::with_indexed_errors(...) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─purrr:::call_with_cleanup(...) 10. │ └─myTAI (local) .f(.x[[i]], ...) 11. │ └─myTAI (local) test(phyex_set, custom_null_txis = null_txis, ..., plot_result = FALSE) 12. │ └─myTAI:::stat_generic_conservation_test(...) 13. │ └─fitting_dist@fitting_function(null_sample) 14. └─base::.handleSimpleError(...) 15. └─purrr (local) h(simpleError(msg, call)) 16. └─cli::cli_abort(...) 17. └─rlang::abort(...) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [59s] OK Running 'testthat.R' [58s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [214s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [26s] OK * DONE Status: 1 ERROR