- using R Under development (unstable) (2024-06-28 r86850)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 18.1.8
flang-new version 18.1.8
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘fmeffects/DESCRIPTION’ ... OK
- this is package ‘fmeffects’ version ‘0.1.3’
- 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 ... [39s/40s] OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [21s/22s] 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 ... ERROR
Running examples in ‘fmeffects-Ex.R’ failed
The error most likely occurred in:
> ### Name: AverageMarginalEffects
> ### Title: R6 Class computing Average Marginal Effects (AME) based on
> ### Forward Marginal Effects (FME) for a model
> ### Aliases: AverageMarginalEffects
>
> ### ** Examples
>
>
> ## ------------------------------------------------
> ## Method `AverageMarginalEffects$new`
> ## ------------------------------------------------
>
> # Train a model:
>
> library(mlr3verse)
Loading required package: mlr3
Error: package or namespace load failed for ‘mlr3verse’:
object ‘FSelectInstanceMultiCrit’ is not exported by 'namespace:mlr3fselect'
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/10s] ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
>
> test_check("fmeffects")
Loading required package: fmeffects
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-compute_ame.R:2:1'): (code run outside of `test_that()`) ───────
Error: package or namespace load failed for 'mlr3verse':
object 'FSelectInstanceMultiCrit' is not exported by 'namespace:mlr3fselect'
Backtrace:
▆
1. └─base::library(mlr3verse) at test-compute_ame.R:2:1
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. └─value[[3L]](cond)
── Error ('test-compute_fme.R:3:3'): FME computation correct ───────────────────
Error: package or namespace load failed for 'mlr3verse':
object 'FSelectInstanceMultiCrit' is not exported by 'namespace:mlr3fselect'
Backtrace:
▆
1. └─base::library(mlr3verse) at test-compute_fme.R:3:3
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. └─value[[3L]](cond)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/12s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘fme_theory.Rmd’ using rmarkdown
--- finished re-building ‘fme_theory.Rmd’
--- re-building ‘fmeffects.Rmd’ using rmarkdown
Quitting from lines 40-45 [unnamed-chunk-2] (fmeffects.Rmd)
Error: processing vignette 'fmeffects.Rmd' failed with diagnostics:
package or namespace load failed for 'mlr3verse':
object 'FSelectInstanceMultiCrit' is not exported by 'namespace:mlr3fselect'
--- 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 ... [11s/11s] 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: 3 ERRORs