CRAN Package Check Results for Package IRon

Last updated on 2025-09-11 21:50:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.4 12.70 92.23 104.93 OK
r-devel-linux-x86_64-debian-gcc 0.1.4 10.10 73.99 84.09 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.4 178.74 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.4 164.80 ERROR
r-devel-windows-x86_64 0.1.4 18.00 96.00 114.00 OK
r-patched-linux-x86_64 0.1.4 12.71 87.05 99.76 OK
r-release-linux-x86_64 0.1.4 12.37 86.21 98.58 OK
r-release-macos-arm64 0.1.4 65.00 OK
r-release-macos-x86_64 0.1.4 87.00 OK
r-release-windows-x86_64 0.1.4 18.00 100.00 118.00 OK
r-oldrel-macos-arm64 0.1.4 47.00 OK
r-oldrel-macos-x86_64 0.1.4 62.00 OK
r-oldrel-windows-x86_64 0.1.4 22.00 115.00 137.00 OK

Check Details

Version: 0.1.4
Check: examples
Result: ERROR Running examples in ‘IRon-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: sera > ### Title: Squared Error-Relevance Area (SERA) > ### Aliases: sera > > ### ** Examples > > library(IRon) > library(rpart) > > if(requireNamespace("rpart")) { + + #' data(accel) + + form <- acceleration ~ . + + ind <- sample(1:nrow(accel),0.75*nrow(accel)) + + train <- accel[ind,] + test <- accel[-ind,] + + ph <- phi.control(accel$acceleration) + + m <- rpart::rpart(form, train) + preds <- as.vector(predict(m,test)) + + trues <- test$acceleration + phi.trues <- phi(test$acceleration,ph) + + sera(trues,preds,phi.trues) + sera(trues,preds,phi.trues,pl=TRUE, m.name="Regression Trees") + sera(trues,preds,phi.trues,pl=TRUE, return.err=TRUE) + + } Error in `ggplot2::geom_smooth()`: ! Problem while computing stat. ℹ Error occurred in the 1st layer. Caused by error in `get()`: ! object 'scam' of mode 'function' was not found Backtrace: ▆ 1. ├─IRon::sera(trues, preds, phi.trues, pl = TRUE, m.name = "Regression Trees") 2. │ ├─base::print(...) 3. │ └─ggplot2 (local) `print.ggplot2::ggplot`(...) 4. │ ├─ggplot2::ggplot_build(x) 5. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 6. │ └─ggplot2:::by_layer(...) 7. │ ├─rlang::try_fetch(...) 8. │ │ ├─base::tryCatch(...) 9. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. │ │ └─base::withCallingHandlers(...) 13. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 14. │ └─l$compute_statistic(d, layout) 15. │ └─ggplot2 (local) compute_statistic(..., self = self) 16. │ └─self$stat$setup_params(data, self$stat_params) 17. │ └─ggplot2 (local) setup_params(...) 18. │ └─base::match.fun(method) 19. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 20. └─base::.handleSimpleError(...) 21. └─rlang (local) h(simpleError(msg, call)) 22. └─handlers[[1L]](cnd) 23. └─cli::cli_abort(...) 24. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.4
Check: examples
Result: ERROR Running examples in ‘IRon-Ex.R’ failed The error most likely occurred in: > ### Name: sera > ### Title: Squared Error-Relevance Area (SERA) > ### Aliases: sera > > ### ** Examples > > library(IRon) > library(rpart) > > if(requireNamespace("rpart")) { + + #' data(accel) + + form <- acceleration ~ . + + ind <- sample(1:nrow(accel),0.75*nrow(accel)) + + train <- accel[ind,] + test <- accel[-ind,] + + ph <- phi.control(accel$acceleration) + + m <- rpart::rpart(form, train) + preds <- as.vector(predict(m,test)) + + trues <- test$acceleration + phi.trues <- phi(test$acceleration,ph) + + sera(trues,preds,phi.trues) + sera(trues,preds,phi.trues,pl=TRUE, m.name="Regression Trees") + sera(trues,preds,phi.trues,pl=TRUE, return.err=TRUE) + + } Error in `ggplot2::geom_smooth()`: ! Problem while computing stat. ℹ Error occurred in the 1st layer. Caused by error in `get()`: ! object 'scam' of mode 'function' was not found Backtrace: ▆ 1. ├─IRon::sera(trues, preds, phi.trues, pl = TRUE, m.name = "Regression Trees") 2. │ ├─base::print(...) 3. │ └─ggplot2 (local) `print.ggplot2::ggplot`(...) 4. │ ├─ggplot2::ggplot_build(x) 5. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 6. │ └─ggplot2:::by_layer(...) 7. │ ├─rlang::try_fetch(...) 8. │ │ ├─base::tryCatch(...) 9. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. │ │ └─base::withCallingHandlers(...) 13. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 14. │ └─l$compute_statistic(d, layout) 15. │ └─ggplot2 (local) compute_statistic(..., self = self) 16. │ └─self$stat$setup_params(data, self$stat_params) 17. │ └─ggplot2 (local) setup_params(...) 18. │ └─base::match.fun(method) 19. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 20. └─base::.handleSimpleError(...) 21. └─rlang (local) h(simpleError(msg, call)) 22. └─handlers[[1L]](cnd) 23. └─cli::cli_abort(...) 24. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc