CRAN Package Check Results for Package madgrad

Last updated on 2025-10-25 06:49:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 13.27 70.19 83.46 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 9.96 56.29 66.25 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.0 51.00 86.51 137.51 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 26.00 100.60 126.60 NOTE
r-devel-windows-x86_64 0.1.0 8.00 56.00 64.00 ERROR
r-patched-linux-x86_64 0.1.0 10.91 67.54 78.45 OK
r-release-linux-x86_64 0.1.0 11.86 67.28 79.14 OK
r-release-macos-arm64 0.1.0 4.00 33.00 37.00 OK
r-release-macos-x86_64 0.1.0 6.00 46.00 52.00 OK
r-release-windows-x86_64 0.1.0 8.00 56.00 64.00 ERROR
r-oldrel-macos-arm64 0.1.0 2.00 20.00 22.00 OK
r-oldrel-macos-x86_64 0.1.0 3.00 34.00 37.00 OK
r-oldrel-windows-x86_64 0.1.0 7.00 81.00 88.00 ERROR

Check Details

Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Daniel Falbel <daniel@rstudio.com>’ The Description field contains (2020) <arxiv:2101.11075>. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘rlang’ ‘torch’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in 'madgrad-Ex.R' failed The error most likely occurred in: > ### Name: optim_madgrad > ### Title: A Momentumized, Adaptive, Dual Averaged Gradient Method for > ### Stochastic Optimization. > ### Aliases: optim_madgrad > > ### ** Examples > > if (torch::torch_is_installed()) { + library(torch) + x <- torch_randn(1, requires_grad = TRUE) + opt <- optim_madgrad(x) + for (i in 1:100) { + opt$zero_grad() + y <- x^2 + y$backward() + opt$step() + } + all.equal(x$item(), 0, tolerance = 1e-9) + } Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1.0
Check: dependencies in R code
Result: NOTE Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: S3 generic/method consistency
Result: WARN Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed See section 'Generic functions and methods' in the 'Writing R Extensions' manual. Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: foreign function calls
Result: NOTE Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: R code for possible problems
Result: NOTE Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: for code/documentation mismatches
Result: WARN Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: Rd \usage sections
Result: NOTE Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed The \usage entries for S3 methods should use the \method markup and not their full name. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in 'madgrad-Ex.R' failed The error most likely occurred in: > ### Name: optim_madgrad > ### Title: A Momentumized, Adaptive, Dual Averaged Gradient Method for > ### Stochastic Optimization. > ### Aliases: optim_madgrad > > ### ** Examples > > if (torch::torch_is_installed()) { + library(torch) + x <- torch_randn(1, requires_grad = TRUE) + opt <- optim_madgrad(x) + for (i in 1:100) { + opt$zero_grad() + y <- x^2 + y$backward() + opt$step() + } + all.equal(x$item(), 0, tolerance = 1e-9) + } Warning: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed Error in (function (size, options) : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: torch_randn ... call_c_function -> do_call -> do.call -> <Anonymous> Execution halted Flavor: r-oldrel-windows-x86_64