CRAN Package Check Results for Package FREEtree

Last updated on 2025-03-09 05:52:28 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 27.97 259.98 287.95 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 22.99 200.04 223.03 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 465.96 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 451.31 ERROR
r-devel-macos-arm64 0.1.0 120.00 OK
r-devel-macos-x86_64 0.1.0 235.00 OK
r-devel-windows-x86_64 0.1.0 27.00 227.00 254.00 OK
r-patched-linux-x86_64 0.1.0 26.66 240.62 267.28 OK
r-release-linux-x86_64 0.1.0 23.91 239.69 263.60 OK
r-release-macos-arm64 0.1.0 119.00 OK
r-release-macos-x86_64 0.1.0 189.00 OK
r-release-windows-x86_64 0.1.0 27.00 220.00 247.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 224.00 OK
r-oldrel-windows-x86_64 0.1.0 37.00 296.00 333.00 OK

Check Details

Version: 0.1.0
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘MASS’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘FREEtree-Ex.R’ failed The error most likely occurred in: > ### Name: FREEtree > ### Title: Initial FREEtree call which then calls actual FREEtree methods > ### depending on parameters being passed through. > ### Aliases: FREEtree > > ### ** Examples > > #locate example data file > dataf <- system.file("data/data.RData", package="FREEtree") > mytree = FREEtree(data,fixed_regress=c("time","time2"), fixed_split=c("treatment"), + var_select=paste("V",1:200,sep=""), minModuleSize = 5, + cluster="patient", Fuzzy=TRUE, maxdepth_factor_select = 0.5, + maxdepth_factor_screen = 0.04, minsize_multiplier = 5, + alpha_screen = 0.2, alpha_select=0.2,alpha_predict=0.05) Use FREEtree_time Warning in optwrap(optimizer, devfun, getStart(start, rho$pp), lower = rho$lower, : convergence code -2 from nloptwrap: NLOPT_INVALID_ARGS: Invalid arguments (e.g. lower bounds are bigger than upper bounds, an unknown algorithm was specified, etcetera). Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : unable to evaluate scaled gradient Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge: degenerate Hessian with 1 negative eigenvalues Error in if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { : missing value where TRUE/FALSE needed Calls: FREEtree -> FREEtree_time -> lmertree Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [45s/124s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(FREEtree) > > test_check("FREEtree") [ FAIL 2 | WARN 4 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_FREEtree.R:113:3'): FREEtree_time a5 estimation ──────────────── Error in `if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { if (newloglik > oldloglik[1]) continue <- FALSE }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─FREEtree::FREEtree(...) at test_FREEtree.R:113:3 2. └─FREEtree:::FREEtree_time(...) 3. └─glmertree::lmertree(...) ── Error ('test_FREEtree.R:230:3'): FREEtree_PC a0 estimation ────────────────── Error in `if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { if (newloglik > oldloglik[1]) continue <- FALSE }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─FREEtree::FREEtree(...) at test_FREEtree.R:230:3 2. └─FREEtree:::FREEtree_PC(...) 3. └─glmertree::lmertree(...) [ FAIL 2 | WARN 4 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [47s/128s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(FREEtree) > > test_check("FREEtree") [ FAIL 2 | WARN 4 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_FREEtree.R:113:3'): FREEtree_time a5 estimation ──────────────── Error in `if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { if (newloglik > oldloglik[1]) continue <- FALSE }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─FREEtree::FREEtree(...) at test_FREEtree.R:113:3 2. └─FREEtree:::FREEtree_time(...) 3. └─glmertree::lmertree(...) ── Error ('test_FREEtree.R:230:3'): FREEtree_PC a0 estimation ────────────────── Error in `if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { if (newloglik > oldloglik[1]) continue <- FALSE }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─FREEtree::FREEtree(...) at test_FREEtree.R:230:3 2. └─FREEtree:::FREEtree_PC(...) 3. └─glmertree::lmertree(...) [ FAIL 2 | WARN 4 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc