CRAN Package Check Results for Package luz

Last updated on 2025-10-31 01:49:02 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 26.36 197.41 223.77 OK
r-devel-linux-x86_64-debian-gcc 0.5.0 18.75 149.68 168.43 OK
r-devel-linux-x86_64-fedora-clang 0.5.1 51.00 197.13 248.13 OK
r-devel-linux-x86_64-fedora-gcc 0.5.1 47.00 191.13 238.13 OK
r-devel-windows-x86_64 0.5.0 18.00 152.00 170.00 ERROR
r-patched-linux-x86_64 0.5.0 24.17 191.47 215.64 OK
r-release-linux-x86_64 0.5.0 23.33 189.93 213.26 OK
r-release-macos-arm64 0.5.1 5.00 46.00 51.00 OK
r-release-macos-x86_64 0.5.1 15.00 92.00 107.00 OK
r-release-windows-x86_64 0.5.0 24.00 164.00 188.00 ERROR
r-oldrel-macos-arm64 0.5.1 6.00 50.00 56.00 OK
r-oldrel-macos-x86_64 0.5.1 14.00 96.00 110.00 OK
r-oldrel-windows-x86_64 0.5.0 33.00 202.00 235.00 ERROR

Check Details

Version: 0.5.0
Check: examples
Result: ERROR Running examples in 'luz-Ex.R' failed The error most likely occurred in: > ### Name: lr_finder > ### Title: Learning Rate Finder > ### Aliases: lr_finder > > ### ** Examples > > if (torch::torch_is_installed()) { + library(torch) + ds <- torch::tensor_dataset(x = torch_randn(100, 10), y = torch_randn(100, 1)) + dl <- torch::dataloader(ds, batch_size = 32) + model <- torch::nn_linear + model <- model %>% setup( + loss = torch::nn_mse_loss(), + optimizer = torch::optim_adam + ) %>% + set_hparams(in_features = 10, out_features = 1) + records <- lr_finder(model, dl, verbose = FALSE) + plot(records) + } Flavor: r-devel-windows-x86_64

Version: 0.5.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'accelerator.Rmd' using rmarkdown --- finished re-building 'accelerator.Rmd' --- re-building 'custom-loop.Rmd' using rmarkdown --- finished re-building 'custom-loop.Rmd' --- re-building 'get-started.Rmd' using rmarkdown SUMMARY: processing the following file failed: 'get-started.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.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. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.5.0
Check: examples
Result: ERROR Running examples in 'luz-Ex.R' failed The error most likely occurred in: > ### Name: lr_finder > ### Title: Learning Rate Finder > ### Aliases: lr_finder > > ### ** Examples > > if (torch::torch_is_installed()) { + library(torch) + ds <- torch::tensor_dataset(x = torch_randn(100, 10), y = torch_randn(100, 1)) + dl <- torch::dataloader(ds, batch_size = 32) + model <- torch::nn_linear + model <- model %>% setup( + loss = torch::nn_mse_loss(), + optimizer = torch::optim_adam + ) %>% + set_hparams(in_features = 10, out_features = 1) + records <- lr_finder(model, dl, verbose = FALSE) + plot(records) + } Error in (function (size, options) : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: <Anonymous> ... call_c_function -> do_call -> do.call -> <Anonymous> Execution halted Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.5.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'accelerator.Rmd' using rmarkdown --- finished re-building 'accelerator.Rmd' --- re-building 'custom-loop.Rmd' using rmarkdown --- finished re-building 'custom-loop.Rmd' --- re-building 'get-started.Rmd' using rmarkdown Quitting from ./../man/rmd/evaluate.Rmd:1-43 [unnamed-chunk-23] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `cpp_torch_manual_seed()`: ! Lantern is not loaded. Please use `install_torch()` to install additional dependencies. --- Backtrace: ▆ 1. └─torch::torch_manual_seed(1) 2. └─torch:::cpp_torch_manual_seed(as.character(seed)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Quitting from get-started.Rmd:158-159 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `cpp_torch_manual_seed()`: ! Lantern is not loaded. Please use `install_torch()` to install additional dependencies. --- Backtrace: ▆ 1. └─torch::torch_manual_seed(1) 2. └─torch:::cpp_torch_manual_seed(as.character(seed)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'get-started.Rmd' failed with diagnostics: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. --- failed re-building 'get-started.Rmd' SUMMARY: processing the following file failed: 'get-started.Rmd' Error: Vignette re-building failed. Execution halted Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64