Last updated on 2025-10-25 00:50:03 CEST.
| Package | ERROR | OK |
|---|---|---|
| microinverterdata | 13 | |
| tabnet | 3 | 10 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 3, OK: 10
Version: 0.7.0
Check: examples
Result: 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)
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64
Version: 0.7.0
Check: re-building of vignette outputs
Result: 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
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64
Version: 0.7.0
Check: whether package can be installed
Result: WARN
Found the following significant warnings:
Warning: Torch libraries are installed but loading them caused a segfault.
Flavor: r-oldrel-windows-x86_64
Version: 0.7.0
Check: examples
Result: 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)
Error in cpp_torch_manual_seed(as.character(seed)) :
Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
Calls: <Anonymous> ... tabnet_train_unsupervised -> <Anonymous> -> cpp_torch_manual_seed
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.7.0
Check: re-building of vignette outputs
Result: 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
Quitting from interpretation.Rmd:107-109 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `cpp_torch_manual_seed()`:
! Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
---
Backtrace:
▆
1. ├─tabnet::tabnet_fit(...)
2. └─tabnet:::tabnet_fit.formula(...)
3. └─tabnet:::tabnet_bridge(...)
4. └─tabnet:::tabnet_initialize(predictors, outcomes, config = config)
5. └─torch::torch_manual_seed(sample.int(1e+06, 1))
6. └─torch:::cpp_torch_manual_seed(as.character(seed))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'interpretation.Rmd' failed with diagnostics:
Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
--- failed re-building 'interpretation.Rmd'
--- 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
Flavor: r-oldrel-windows-x86_64