CRAN Package Check Results for Package FREEtree

Last updated on 2025-02-17 07:50:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 28.89 263.60 292.49 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 20.26 201.01 221.27 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 477.68 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 424.56 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 26.00 222.00 248.00 OK
r-patched-linux-x86_64 0.1.0 24.76 236.42 261.18 OK
r-release-linux-x86_64 0.1.0 23.28 242.27 265.55 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 26.00 222.00 248.00 OK
r-oldrel-macos-arm64 0.1.0 135.00 OK
r-oldrel-macos-x86_64 0.1.0 224.00 OK
r-oldrel-windows-x86_64 0.1.0 37.00 293.00 330.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/72s] 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’ [45s/57s] 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