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