R Observatory
Search
install.packages("torchopt")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
272−11.7% down on the 30 days before, the worse direction
Test coverage, method
10%of lines run by tests

Optimizers for 'torch' deep learning library. These functions include recent results published in the literature and are not part of the optimizers offered in 'torch'. Prospective users should test these optimizers with their data, since performance depends on the specific problem being solved.

Full description

Optimizers for 'torch' deep learning library. These functions include recent results published in the literature and are not part of the optimizers offered in 'torch'. Prospective users should test these optimizers with their data, since performance depends on the specific problem being solved. The packages includes the following optimizers: (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), <https://openreview.net/pdf/OM0jvwB8jIp57ZJjtNEZ.pdf>; (g) 'qhadam' by 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), <https://papers.nips.cc/paper/8186-adaptive-methods-for-nonconvex-optimization>.

Maintainer
Gilberto Camara
Latest release
6 Jun 2023
First release
25 Apr 2022

Compare with another package

More details
Releases
4
Needs compilation
No
Needs R
>= 4.0.0
Language
en-US
RoxygenNote
7.2.0
Subjects (2) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("torchopt")
APA
Camara, G., Falbel, D., Simoes, R., & Souza, F. (2023). torchopt: Advanced Optimizers for Torch (Version 0.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.torchopt
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for torchopt version 0.1.4 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 2 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    0.1.4
    Time taken
    44 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Gilberto Camara <gilberto.camara.inpe@gmail.com>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    0.1.4
    Time taken
    35 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Gilberto Camara <gilberto.camara.inpe@gmail.com>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.4
    Time taken
    42 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.4
    Time taken
    30 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    72 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.4
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    83 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    65 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    42 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    42 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.4
    Time taken
    14 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    52 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.4
    Time taken
    61 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

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>.

Check results on CRAN

Total downloads in the last 30 days
292−9.9% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

15,899 of 26,530

CRAN

272 downloads in the last 30 days

Rank
15,899 of 26,530
Change
−11.7% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

17 downloads in the last 30 days

Rank
5,162 of 30,526
Change
+183% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−70% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
0
Suggested by
0
Needs (4)
  • graphics
  • grDevices
  • stats
  • torch
Installing it adds
24 packages, 10.6 MB of source
Of those, need compilation
12
Optional extras (1)
Functions
29
Public exports
11
Lines of R code
2,173
Median complexity
1
Functions (29)
Size and composition

Lines by kind (3,504)

KindLinesShare
R code2,17362%
Tests2016%
Documentation1,13032%

Lines by language

LanguageLinesShare
R2,37468%
Rd1,13032%

Languages are counted from file extensions.

Files
35
R functions
29
Complexity
Median
1
Mean
1.48
Highest
15
Median lines per function
4
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
29
Calls
0
Unconnected
29
Groups
0
Growth (4 releases)
Total lines by release
3,226 on 25 Apr 20223,504 on 6 Jun 2023
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
10.1%
Expressions run by tests
14.3%
Test cases
10
Exports named in tests
90.9%
Coverage by file (2)
Coverage run
Lines counted
148
Lines the tests ran
15
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
10
Lines of tests
201
Test lines per line of code
0.09
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
64.3%
Examples run in checks
100%
Other documentation
README
No
Release notes file
Yes
Help pages
14
Lines of documentation
1,130
Earlier names (1)
  • Alber Sanchez

e-sensing / torchopt on github.com

Stars
27no change on 30 days ago
Forks
5
Open issues
0
Last commit
8 Jun 2023
Activity
Commits
80
Open pull requests
0
Tagged releases
2
Latest tagged release
v0.1.2, 30 Jun 2022
Issues closed in
8 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
7 Apr 2022
Licence file reads as
–
Development practices (6)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct
Docs sourceREADME.Rmd
CoverageCoverage reporting (Codecov)
Lint, format, editorRStudio project

Method, repository practices

Across e-sensing

R releases
  • On CRAN
  • Release
VersionReleasedR
0.1.4 current6 Jun 20234.3.0
0.1.38 Mar 20234.2.2
0.1.230 Jun 20224.2.1
0.1.125 Apr 20224.2.0