- using R Under development (unstable) (2025-09-10 r88809)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘IRon/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘IRon’ version ‘0.1.4’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [0s/1s] OK
- 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 serialization versions ... OK
- checking whether package ‘IRon’ can be installed ... OK
See the install log for details.
- used C compiler: ‘Debian clang version 19.1.7 (3+b2)’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [4s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/5s] OK
- checking loading without being on the library search path ... [4s/5s] 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 ... [18s/22s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [12s/15s] 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
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR