- using R Under development (unstable) (2025-12-11 r89150)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘FastRet/DESCRIPTION’ ... OK
- this is package ‘FastRet’ version ‘1.1.4’
- 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 ‘FastRet’ can be installed ... [30s/106s] OK
See the install log for details.
- 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 ... [8s/26s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/19s] OK
- checking whether the package can be unloaded cleanly ... [7s/16s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/19s] OK
- checking whether the namespace can be unloaded cleanly ... [8s/25s] OK
- checking loading without being on the library search path ... [8s/22s] OK
- checking whether startup messages can be suppressed ... [8s/26s] 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 ... [40s/120s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [24s/56s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [66s/128s] ERROR
Running ‘testthat.R’ [66s/126s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(FastRet)
>
> test_check("FastRet")
Starting 2 test processes.
Saving _problems/test-train_frm-gbtree-11.R
Saving _problems/test-fit_gbtree-8.R
Saving _problems/test-fit_gbtree-16.R
> test-plot_frm.R: [1;30m2025-12-11 21:29:12.84 [0m Starting training of a lasso model
> test-plot_frm.R: [1;30m2025-12-11 21:29:12.85 [0m Mocking is enabled. Returning 'mockdata/lasso_model.rds'
> test-plot_frm.R: [1;30m2025-12-11 21:29:13.13 [0m Starting training of a lasso model
> test-plot_frm.R: [1;30m2025-12-11 21:29:13.14 [0m Mocking is enabled. Returning 'mockdata/lasso_model.rds'
> test-plot_frm.R: [1;30m2025-12-11 21:29:13.15 [0m Starting model Adjustment
> test-plot_frm.R: [1;30m2025-12-11 21:29:13.15 [0m dim(original_data): 442 x 126
> test-plot_frm.R: [1;30m2025-12-11 21:29:13.16 [0m dim(new_data): 25 x 3
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.40 [0m predictors: 1, 2, 3, 4, 5, 6
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.40 [0m nfolds: 5
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.41 [0m Preprocessing data
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.43 [0m Formula: RT_ADJ ~ RT + I(RT^2) + I(RT^3) + log(RT) + exp(RT) + sqrt(RT)
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.43 [0m Estimating performance of adjusted model in CV
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.55 [0m Fitting adjustment model on full new data set
> test-plot_frm.R: [1;30m2025-12-11 21:29:16.55 [0m Returning adjusted frm object
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.10 [0m Starting model Adjustment
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.11 [0m dim(original_data): 442 x 126
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.11 [0m dim(new_data): 25 x 3
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.11 [0m predictors: 1, 2
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.11 [0m nfolds: 5
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.11 [0m Preprocessing data
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.16 [0m Formula: RT_ADJ ~ RT + I(RT^2)
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.17 [0m Estimating performance of adjusted model in CV
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.56 [0m Fitting adjustment model on full new data set
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m Returning adjusted frm object
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m Starting model Adjustment
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m dim(original_data): 442 x 126
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m dim(new_data): 25 x 3
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m predictors: 1, 2, 3, 4, 5, 6
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m nfolds: 5
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.57 [0m Preprocessing data
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.62 [0m Formula: RT_ADJ ~ RT + I(RT^2) + I(RT^3) + log(RT) + exp(RT) + sqrt(RT)
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.64 [0m Estimating performance of adjusted model in CV
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.97 [0m Fitting adjustment model on full new data set
> test-adjust_frm.R: [1;30m2025-12-11 21:29:17.98 [0m Returning adjusted frm object
> test-selective_measuring.R: [1;30m2025-12-11 21:29:18.05 [0m Starting Selective Measuring
> test-selective_measuring.R: [1;30m2025-12-11 21:29:18.05 [0m Preprocessing input data
> test-selective_measuring.R: [1;30m2025-12-11 21:29:18.05 [0m Mocking is enabled for 'preprocess_data'. Returning 'mockdata/RPCD_prepro.rds'.
> test-selective_measuring.R: [1;30m2025-12-11 21:29:18.09 [0m Standardizing features
> test-selective_measuring.R: [1;30m2025-12-11 21:29:18.15 [0m Training Ridge Regression model
> test-selective_measuring.R: [1;30m2025-12-11 21:29:18.15 [0m Fitting Ridge model
> test-selective_measuring.R: [1;30m2025-12-11 21:29:19.60 [0m End training
> test-selective_measuring.R: [1;30m2025-12-11 21:29:19.61 [0m Scaling features by coefficients of Ridge Regression model
> test-selective_measuring.R: [1;30m2025-12-11 21:29:19.64 [0m Applying PAM clustering
> test-selective_measuring.R: [1;30m2025-12-11 21:29:22.75 [0m Returning clustering results
[ FAIL 3 | WARN 5 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-train_frm-gbtree.R:5:5'): train_frm works if `method == "GBTree"` ──
<subscriptOutOfBoundsError/error/condition>
Error in `FUN(X[[i]], ...)`: subscript out of bounds
Backtrace:
▆
1. └─FastRet::train_frm(...) at test-train_frm-gbtree.R:5:5
2. └─base::lapply(tmp, "[[", 2)
── Error ('test-fit_gbtree.R:8:5'): fit.gbtrees works as expected ──────────────
Error in `begin_iteration:end_iteration`: argument of length 0
Backtrace:
▆
1. └─FastRet:::fit_gbtree(df, verbose = 0) at test-fit_gbtree.R:8:5
2. └─FastRet:::fit_gbtree_grid(...)
3. └─xgboost::xgb.train(...)
── Error ('test-fit_gbtree.R:16:5'): fit.gbtrees works for data from reverse phase column ──
Error in `begin_iteration:end_iteration`: argument of length 0
Backtrace:
▆
1. └─FastRet:::fit_gbtree(df, verbose = 0) at test-fit_gbtree.R:16:5
2. └─FastRet:::fit_gbtree_grid(...)
3. └─xgboost::xgb.train(...)
[ FAIL 3 | WARN 5 | SKIP 0 | PASS 19 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [8s/22s] OK
- checking HTML version of manual ... [3s/13s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR