• using R version 4.5.0 beta (2025-03-29 r88069)
  • using platform: aarch64-apple-darwin20
  • R was compiled by     Apple clang version 14.0.0 (clang-1400.0.29.202)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Ventura 13.4
  • 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 ... [5s/6s] 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 ... [1s/1s] OK
  • checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
  • checking whether the package can be unloaded cleanly ... [0s/1s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
  • checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
  • checking loading without being on the library search path ... [1s/1s] OK
  • checking whether startup messages can be suppressed ... [1s/1s] 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 ... [5s/5s] OK
  • checking Rd files ... [0s/0s] OK
  • checking Rd metadata ... 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 ... [53s/73s] ERROR Running examples in ‘tabnet-Ex.R’ failed The error most likely occurred in: > ### 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
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [1s/1s] OK   Running ‘spelling.R’ [0s/0s]   Running ‘testthat.R’ [1s/1s]
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes ... OK
  • checking re-building of vignette outputs ... [27s/36s] OK
  • checking PDF version of manual ... [4s/5s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '