CRAN Package Check Results for Package madgrad

Last updated on 2025-11-02 04:49:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 12.10 71.80 83.90 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 8.50 53.85 62.35 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 28.00 94.22 122.22 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.14 66.80 78.94 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 6.00 48.00 54.00 WARN
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 8.00 57.00 65.00 WARN

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 Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.1.0
Check: S3 generic/method consistency
Result: WARN Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. 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 Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. 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: for code/documentation mismatches
Result: WARN Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.1.0
Check: Rd \usage sections
Result: NOTE Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. 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