- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.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 ... [4s/5s] 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 R 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 ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/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 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 ... [4s/4s] 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 ... [2s/2s] OK
- 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 in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [14s/17s] ERROR
Errors in running code in vignettes:
when running code in ‘Hierarchical_classification.Rmd’
...
> config <- tabnet_config(decision_width = 8, attention_width = 8,
+ num_steps = 3, penalty = 0.003, cat_emb_dim = 2, valid_split = 0.2,
+ l .... [TRUNCATED]
> starw_model <- tabnet_fit(starwars_train_tree, config = config,
+ epoch = 170, checkpoint_epochs = 25)
When sourcing ‘Hierarchical_classification.R’:
Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
Execution halted
when running code in ‘Missing_data_predictors.Rmd’
...
> cat_emb_dim <- map_dbl(ames %>% select_if(is.factor),
+ ~log2(nlevels(.x)) %>% round)
> ames_pretrain <- tabnet_pretrain(ames_rec, data = ames,
+ epoch = 50, cat_emb_dim = cat_emb_dim, valid_split = 0.2,
+ verbose = TRUE, batc .... [TRUNCATED]
When sourcing ‘Missing_data_predictors.R’:
Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
Execution halted
when running code in ‘interpretation.Rmd’
...
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
> set.seed(1)
> torch::torch_manual_seed(1)
When sourcing ‘interpretation.R’:
Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
Execution halted
when running code in ‘selfsupervised_training.Rmd’
...
> rec <- recipe(Class ~ ., lending_club) %>% step_normalize(all_numeric())
> unlabeled_baked_df <- rec %>% prep %>% bake(new_data = unlabeled)
> mod <- tabnet_pretrain(rec, unlabeled, epochs = 50,
+ valid_split = 0.2, batch_size = 5000, verbose = TRUE)
When sourcing ‘selfsupervised_training.R’:
Error: Lantern is not loaded. Please use `install_torch()` to install additional dependencies.
Execution halted
when running code in ‘tidymodels-interface.Rmd’
...
There were issues with some computations A: x1
There were issues with some computations A: x5
Warning: All models failed. Run `show_notes(.Last.tune.result)` for more information.
> collect_metrics(fit_rs)
When sourcing ‘tidymodels-interface.R’:
Error: All models failed. Run `show_notes(.Last.tune.result)` for more information.
Execution halted
‘Hierarchical_classification.Rmd’ using ‘UTF-8’... failed
‘Missing_data_predictors.Rmd’ using ‘UTF-8’... failed
‘interpretation.Rmd’ using ‘UTF-8’... failed
‘selfsupervised_training.Rmd’ using ‘UTF-8’... failed
‘tidymodels-interface.Rmd’ using ‘UTF-8’... failed
- checking re-building of vignette outputs ... [15s/22s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '