* using log directory 'd:/Rcompile/CRANpkg/local/4.6/luz.Rcheck' * using R Under development (unstable) (2025-08-25 r88702 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'luz/DESCRIPTION' ... OK * this is package 'luz' version '0.5.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 'luz' can be installed ... OK * 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [3s] 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 ... [9s] 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 ... [3s] 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) + } * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] OK Running 'testthat.R' [3s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [10s] 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 * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 2 ERRORs