Last updated on 2025-06-25 05:50:09 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.4 | 4.80 | 83.08 | 87.88 | NOTE | |
r-devel-linux-x86_64-debian-gcc | 0.1.4 | 3.78 | 451.67 | 455.45 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.4 | 160.56 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.4 | 151.37 | OK | |||
r-devel-windows-x86_64 | 0.1.4 | 6.00 | 83.00 | 89.00 | OK | |
r-patched-linux-x86_64 | 0.1.4 | 7.08 | 82.29 | 89.37 | OK | |
r-release-linux-x86_64 | 0.1.4 | 7.20 | 80.75 | 87.95 | OK | |
r-release-macos-arm64 | 0.1.4 | 51.00 | OK | |||
r-release-macos-x86_64 | 0.1.4 | 83.00 | OK | |||
r-release-windows-x86_64 | 0.1.4 | 6.00 | 85.00 | 91.00 | OK | |
r-oldrel-macos-arm64 | 0.1.4 | 23.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.4 | 34.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.4 | 8.00 | 105.00 | 113.00 | OK |
Version: 0.1.4
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Gilberto Camara <gilberto.camara.inpe@gmail.com>’
The Description field contains
(a) 'adabelief' by Zhuang et al (2020), <arXiv:2010.07468>; (b)
'adabound' by Luo et al.(2019), <arXiv:1902.09843>; (c) 'adahessian' by
Yao et al.(2021) <arXiv:2006.00719>; (d) 'adamw' by Loshchilov & Hutter
(2019), <arXiv:1711.05101>; (e) 'madgrad' by Defazio and Jelassi
(2021), <arXiv:2101.11075>; (f) 'nadam' by Dozat (2019),
Ma and Yarats(2019), <arXiv:1810.06801>; (h) 'radam' by Liu et al.
(2019), <arXiv:1908.03265>; (i) 'swats' by Shekar and Sochee (2018),
<arXiv:1712.07628>; (j) 'yogi' by Zaheer et al.(2019),
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.4
Check: examples
Result: ERROR
Running examples in ‘torchopt-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: optim_adabelief
> ### Title: Adabelief optimizer
> ### Aliases: optim_adabelief
>
> ### ** Examples
>
> if (torch::torch_is_installed()) {
+ # function to demonstrate optimization
+ beale <- function(x, y) {
+ log((1.5 - x + x * y)^2 + (2.25 - x - x * y^2)^2 + (2.625 - x + x * y^3)^2)
+ }
+ # define optimizer
+ optim <- torchopt::optim_adabelief
+ # define hyperparams
+ opt_hparams <- list(lr = 0.01)
+
+ # starting point
+ x0 <- 3
+ y0 <- 3
+ # create tensor
+ x <- torch::torch_tensor(x0, requires_grad = TRUE)
+ y <- torch::torch_tensor(y0, requires_grad = TRUE)
+ # instantiate optimizer
+ optim <- do.call(optim, c(list(params = list(x, y)), opt_hparams))
+ # run optimizer
+ steps <- 400
+ x_steps <- numeric(steps)
+ y_steps <- numeric(steps)
+ for (i in seq_len(steps)) {
+ x_steps[i] <- as.numeric(x)
+ y_steps[i] <- as.numeric(y)
+ optim$zero_grad()
+ z <- beale(x, y)
+ z$backward()
+ optim$step()
+ }
+ print(paste0("starting value = ", beale(x0, y0)))
+ print(paste0("final value = ", beale(x_steps[steps], y_steps[steps])))
+ }
Error: .onLoad failed in loadNamespace() for 'torch', details:
call: inst_path()
error: torch cannot write into
'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/torch/'.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc