CRAN Package Check Results for Package madgrad

Last updated on 2025-10-31 09:50:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 12.87 70.76 83.63 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 10.41 54.71 65.12 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.0 26.00 104.05 130.05 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 12.03 68.06 80.09 OK
r-release-linux-x86_64 0.1.0 12.76 68.37 81.13 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 7.00 67.00 74.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) + } Flavor: r-devel-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 Flavors: r-release-windows-x86_64, 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. Flavors: r-release-windows-x86_64, 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. Flavors: r-release-windows-x86_64, 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 Flavors: r-release-windows-x86_64, 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 Flavors: r-release-windows-x86_64, 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. Flavors: r-release-windows-x86_64, 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 Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.