- using R Under development (unstable) (2026-11-21 r90959)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)
GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-21 20:18:25 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘fmeffects/DESCRIPTION’ ... OK
- this is package ‘fmeffects’ version ‘0.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 ‘fmeffects’ can be installed ... [17s/38s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [13s/25s] 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 data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [13s/29s] ERROR
Running examples in ‘fmeffects-Ex.R’ failed
The error most likely occurred in:
> ### Name: came
> ### Title: Computes a partitioning for a 'ForwardMarginalEffect'
> ### Aliases: came
>
> ### ** Examples
>
> # Train a model and compute FMEs:
>
> library(mlr3verse)
Loading required package: mlr3
> library(ranger)
> data(bikes, package = "fmeffects")
> task = as_task_regr(x = bikes, id = "bikes", target = "count")
> forest = lrn("regr.ranger")$train(task)
> effects = fme(model = forest, data = bikes, features = list("temp" = 1), ep.method = "envelope")
>
> # Find a partitioning with exactly 3 subspaces:
> subspaces = came(effects, number.partitions = 3)
>
> # Find a partitioning with a maximum standard deviation of 20, use `rpart`:
> library(rpart)
> subspaces = came(effects, max.sd = 200, rp.method = "rpart")
>
> # Analyze results:
> summary(subspaces)
PartitioningRpart of an FME object
Method: max.sd = 200
n cAME SD(fME)
728 56.44523 165.7487 *
340 -37.57207 108.1235
388 138.83153 163.6989
---
* root node (non-partitioned)
AME (Global): 56.4452
> plot(subspaces)
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. ├─base::plot(subspaces)
2. └─fmeffects:::plot.Partitioning(subspaces)
3. └─x$plot()
4. └─PartitioningPlot$new(self$tree, self$object, has.nlm = FALSE)
5. └─fmeffects (local) initialize(...)
6. └─private$compute(self$tree, object, self$has.nlm)
7. └─ggparty::ggparty(...)
8. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
9. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
10. └─ggplot2:::validate_mapping(mapping)
11. └─cli::cli_abort(msg, call = call)
12. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/22s] OK
Running ‘testthat.R’ [10s/21s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [10m/20m] ERROR
Error(s) in re-building vignettes:
--- re-building ‘fme_theory.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘fme_theory.Rmd’
--- re-building ‘fmeffects.Rmd’ using rmarkdown
Quitting from fmeffects.Rmd:222-224 [unnamed-chunk-22]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. ├─base::plot(subspaces)
2. └─fmeffects:::plot.Partitioning(subspaces)
3. └─x$plot()
4. └─PartitioningPlot$new(self$tree, self$object, has.nlm = FALSE)
5. └─fmeffects (local) initialize(...)
6. └─private$compute(self$tree, object, self$has.nlm)
7. └─ggparty::ggparty(...)
8. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
9. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'fmeffects.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘fmeffects.Rmd’
SUMMARY: processing the following file failed:
‘fmeffects.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs