Last updated on 2025-08-31 15:48:53 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
bayesEO | 13 | ||
sits | 3 | 10 | |
torchopt | 2 | 2 | 9 |
Current CRAN status: NOTE: 13
Version: 0.2.1
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘bayes_colors.R’ ‘bayes_label.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Version: 0.2.1
Check: installed package size
Result: NOTE
installed size is 6.4Mb
sub-directories of 1Mb or more:
extdata 4.1Mb
libs 2.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 10
Version: 1.5.3
Check: installed package size
Result: NOTE
installed size is 13.1Mb
sub-directories of 1Mb or more:
R 2.1Mb
extdata 1.2Mb
libs 8.9Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 2, NOTE: 2, OK: 9
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:
> ### 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])))
+ }
Flavors: r-devel-windows-x86_64, r-oldrel-windows-x86_64