CRAN Package Check Results for Package madgrad

Last updated on 2025-08-30 03:49:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 5.92 44.01 49.93 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 4.83 33.62 38.45 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.0 76.54 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 79.03 NOTE
r-devel-windows-x86_64 0.1.0 9.00 57.00 66.00 ERROR
r-patched-linux-x86_64 0.1.0 5.56 41.29 46.85 OK
r-release-linux-x86_64 0.1.0 6.04 40.77 46.81 OK
r-release-macos-arm64 0.1.0 37.00 OK
r-release-macos-x86_64 0.1.0 52.00 OK
r-release-windows-x86_64 0.1.0 7.00 68.00 75.00 OK
r-oldrel-macos-arm64 0.1.0 22.00 OK
r-oldrel-macos-x86_64 0.1.0 37.00 OK
r-oldrel-windows-x86_64 0.1.0 10.00 65.00 75.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-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.