- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'tabnet/DESCRIPTION' ... OK
- this is package 'tabnet' version '0.7.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'tabnet' can be installed ... 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 ... [8s] OK
- checking whether the package can be loaded with stated dependencies ... [8s] OK
- checking whether the package can be unloaded cleanly ... [8s] OK
- checking whether the namespace can be loaded with stated dependencies ... [8s] OK
- checking whether the namespace can be unloaded cleanly ... [8s] OK
- checking loading without being on the library search path ... [8s] OK
- checking whether startup messages can be suppressed ... [9s] 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] OK
- checking Rd files ... [1s] 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 ... [11s] ERROR
Running examples in 'tabnet-Ex.R' failed
The error most likely occurred in:
> ### Name: nn_prune_head.tabnet_fit
> ### Title: Prune top layer(s) of a tabnet network
> ### Aliases: nn_prune_head.tabnet_fit nn_prune_head.tabnet_pretrain
>
> ### ** 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")
+ x <- ames[,-which(names(ames) == "Sale_Price")]
+ y <- ames$Sale_Price
+ # pretrain a tabnet model on ames dataset
+ ames_pretrain <- tabnet_pretrain(x, y, epoch = 2, checkpoint_epochs = 1)
+ # prune classification head to get an embedding model
+ pruned_pretrain <- torch::nn_prune_head(ames_pretrain, 1)
+ ## Don't show:
+ }) # examplesIf
> data("ames", package = "modeldata")
> x <- ames[, -which(names(ames) == "Sale_Price")]
> y <- ames$Sale_Price
> ames_pretrain <- tabnet_pretrain(x, y, epoch = 2, checkpoint_epochs = 1)
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [9s] OK
Running 'spelling.R' [0s]
Running 'testthat.R' [8s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [21s] ERROR
Error(s) in re-building vignettes:
--- re-building 'Hierarchical_classification.Rmd' using rmarkdown
--- finished re-building 'Hierarchical_classification.Rmd'
--- re-building 'Missing_data_predictors.Rmd' using rmarkdown
--- finished re-building 'Missing_data_predictors.Rmd'
--- re-building 'interpretation.Rmd' using rmarkdown
--- re-building 'selfsupervised_training.Rmd' using rmarkdown
--- finished re-building 'selfsupervised_training.Rmd'
--- re-building 'tidymodels-interface.Rmd' using rmarkdown
--- finished re-building 'tidymodels-interface.Rmd'
SUMMARY: processing the following file failed:
'interpretation.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 2 ERRORs