- using R version 4.5.0 beta (2025-03-27 r88065)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘tabnet/DESCRIPTION’ ... OK
- this is package ‘tabnet’ version ‘0.6.0’
- 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 ‘tabnet’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/2s] 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 ... [20s/25s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [117s/129s] ERROR
Running examples in ‘tabnet-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tabnet_pretrain
> ### Title: Tabnet model
> ### Aliases: tabnet_pretrain tabnet_pretrain.default
> ### tabnet_pretrain.data.frame tabnet_pretrain.formula
> ### tabnet_pretrain.recipe tabnet_pretrain.Node
>
> ### ** Examples
>
> ## Don't show:
> if (torch::torch_is_installed()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ data("ames", package = "modeldata")
+ pretrained <- tabnet_pretrain(Sale_Price ~ ., data = ames, epochs = 1)
+ ## Don't show:
+ }) # examplesIf
> data("ames", package = "modeldata")
> pretrained <- tabnet_pretrain(Sale_Price ~ ., data = ames, epochs = 1)
Error in `value_error()`:
! Can't convert data of class: 'NULL'
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. ├─tabnet::tabnet_pretrain(Sale_Price ~ ., data = ames, epochs = 1)
7. └─tabnet:::tabnet_pretrain.formula(...)
8. └─tabnet:::tabnet_bridge(...)
9. └─tabnet:::tabnet_train_unsupervised(...)
10. ├─coro::loop(...)
11. │ └─rlang::eval_bare(loop, env)
12. └─coro (local) `<fn>`()
13. ├─coro::is_exhausted(elt <<- iterator())
14. ├─elt <<- iterator()
15. │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE)
16. └─torch (local) iterator()
17. └─torch::dataloader_next(iter, coro::exhausted())
18. └─iter$.next()
19. └─self$.next_data()
20. └─self$.dataset_fetcher$fetch(index)
21. └─self$collate_fn(data)
22. └─base::lapply(data, utils_data_default_convert)
23. └─torch (local) FUN(X[[i]], ...)
24. └─base::tryCatch(...)
25. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
26. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
27. └─value[[3L]](cond)
28. └─torch:::value_error("Can't convert data of class: '{class(data)}'")
29. └─rlang::abort(glue::glue(gettext(...)[[1]], .envir = env), class = "value_error")
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
autoplot.tabnet_explain 33.423 0.777 38.922
tabnet_fit 27.824 0.206 33.619
autoplot.tabnet_fit 23.950 0.255 23.688
tabnet 14.221 0.241 14.505
tabnet_explain 12.072 0.124 13.494
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] OK
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [1s/2s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [63s/72s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR