R Observatory
Search

Older releaseCurrent release 0.17.0

torch

Released
26 Feb 2022R 4.1.2 at the time
Advisories, method
None knownfor this release
Test coverage, method
–not measured for this release
Public exports, method
691none added or removed

Record made 29 Oct 2026, 01:01 UTC from data release v2026-10-28, merged 23:10 UTC. Project DOI 10.5281/zenodo.21843040.

This page reports what R Observatory measured for this release. It is not a validation, and it does not say whether the package is fit for your intended use.

Compare

Compared with 0.17.0, released 11 Apr 2026.

Time between
1,505 days17 releases in between
Advisories
None knownfor either release
Exports
5 removed69 added as well
Files changed
463+465,625 −127,930 lines

Values that differ (19)

MeasureSection0.7.20.17.0
MaintainerReleaseDaniel FalbelTomasz Kalinowski
Download sizeRelease1.5 MB1.9 MB
AuthorsReleaseDaniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, RStudioTomasz Kalinowski, Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, Sebastian Fischer, Maximilian Pichler, RStudio
Public exportsCode691755
Internal functionsCode4,3886,280
Lines of R codeCode79,834102,571
Lines of compiled codeCode60,687, 33.2% of code80,023, 35.0% of code
ComplexityCodemean 1.1, highest 46mean 1.1, highest 155
TestsTestsYes, testthat (edition not declared, 2nd by default), 530 test blocksYes, testthat (edition not declared, 2nd by default), 711 test blocks
Test lines per line of codeTests0.110.12
Exports named in testsTests41.1%46%
Help pages with running examplesTests418 of 418442 of 442
Help pagesDocumentation658702
Exports with examplesDocumentation64.1%63.7%
Return value documentedDocumentation4.3%6.2%
VignettesDocumentation101
NEWSDocumentationYes, mentions 0.7.2Yes, mentions 0.17.0
ImportsDependenciesRcpp, R6, withr, rlang, methods, utils, stats, bit64, magrittr, tools, coro (>= 1.0.2), callr, cli, ellipsisRcpp, R6, withr, rlang (>= 1.0.0), methods, utils, stats, bit64, magrittr, tools, coro (>= 1.0.2), callr, cli (>= 3.0.0), glue, desc, safetensors (>= 0.1.1), jsonlite, scales
SuggestsDependenciestestthat (>= 3.0.0), covr, knitr (>= 1.36), rmarkdown, glue, palmerpenguins, mvtnorm, numDeriv, katextestthat (>= 3.0.0), covr, knitr (>= 1.36), rmarkdown, palmerpenguins, mvtnorm, numDeriv, katex
Exports added (69)
  • OptimizerIgnite
  • backends_mps_is_available
  • buffer_from_torch_tensor
  • clone_module
  • cuda_amp_grad_scaler
  • cuda_dump_memory_snapshot
  • cuda_empty_cache
  • cuda_get_rng_state
  • cuda_memory_snapshot
  • cuda_record_memory_history
  • cuda_set_rng_state
  • cuda_synchronize
  • install_torch_sitrep
  • iterable_dataset
  • jit_ops
  • jit_serialize
  • jit_unserialize
  • linalg_solve_triangular
  • local_autocast
  • local_device
  • local_enable_grad
  • local_no_grad
  • local_torch_manual_seed
  • lr_cosine_annealing
  • lr_reduce_on_plateau
  • nn_aum_loss
  • nn_embedding_bag
  • nn_module_dict
  • nn_prune_head
  • nn_silu
  • nn_transformer_encoder
  • nn_transformer_encoder_layer
  • nn_utils_weight_norm
  • nnf_area_under_min_fpr_fnr
  • nnf_silu
  • optim_adamw
  • optim_ignite_adagrad
  • optim_ignite_adam
  • optim_ignite_adamw
  • optim_ignite_rmsprop
  • optim_ignite_sgd
  • optim_required
  • optimizer_ignite
  • sampler
  • set_autocast
  • torch_bfloat16
  • torch_cdouble
  • torch_cfloat
  • torch_cfloat128
  • torch_cfloat32
  • torch_cfloat64
  • torch_chalf
  • torch_fft_fftfreq
  • torch_float8_e4m3fn
  • torch_float8_e5m2
  • torch_get_rng_state
  • torch_kron
  • torch_ldexp
  • torch_lu_unpack
  • torch_scaled_dot_product_attention
  • torch_serialize
  • torch_set_rng_state
  • torch_sparse_sampled_addmm
  • torch_take_along_dim
  • torch_tensor_from_buffer
  • unset_autocast
  • with_autocast
  • with_device
  • with_torch_manual_seed
Exports removed (5)
  • torch_eig
  • torch_lstsq
  • torch_matrix_rank
  • torch_solve
  • torch_symeig
Most changed files (12 of 463)
FileLines addedLines deleted
tools/torchgen/inst/declaration/Declarations-2.8.0.yaml213,8510
tools/torchgen/inst/declaration/Declarations-1.12.1.yaml52,13932,081
tools/torchgen/inst/declaration/Declarations-1.13.1.yaml44,8758,647
src/RcppExports.cpp23,09110,573
tools/torchgen/inst/declaration/Declarations-2.5.1.yaml22,0949,706
inst/include/lantern.h13,66013,660
R/gen-namespace.R17,6794,680
tools/torchgen/inst/declaration/Declarations-1.11.0.yaml10,0558,439
src/gen-namespace.cpp11,8085,917
tools/torchgen/inst/declaration/Declarations-2.0.1.yaml10,2547,470
R/RcppExports.R9,2384,938
inst/include/lantern/lantern.h5,9852,080

Both releases side by side

Release

Published
26 Feb 2022
Status
Replaced by 0.8.0 on 10 Jun 2022
Previous
0.7.1, 25 Feb 2022
License
MIT + file LICENSE, OSI approved
Maintainer
Daniel Falbel
Download size
1.5 MB
Authors
Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, RStudio
This release
None known
Results
Kept only for the current release
Lines of R code
79,834
Public exports
691
Internal functions
4,388
Mean complexity
1.1the most is 46

Lines by kind (182,526)

KindLinesShare
R code79,83444%
Tests8,5225%
Documentation28,20515%
Guides5,2783%
Compiled code60,68733%
Test cases
548
Lines of tests
8,522
Exports named in tests
41.1%
Tests
Yes, testthat (edition not declared, 2nd by default), 530 test blocks
Test lines per line of code
0.11
Coverage
Not measured for this release
Help pages with running examples
418 of 418
Exports documented
99.9%
Arguments documented
100%
Return value documented
4.3%
Vignettes
10
Help pages
658
Exports with examples
64.1%
NEWS
Yes, mentions 0.7.2
Citation file
No
Website
Yes
Depends
None
Imports
Rcpp, R6, withr, rlang, methods, utils, stats, bit64, magrittr, tools, coro (>= 1.0.2), callr, cli, ellipsis
LinkingTo
Rcpp
Suggests
testthat (>= 3.0.0), covr, knitr (>= 1.36), rmarkdown, glue, palmerpenguins, mvtnorm, numDeriv, katex
Install tree
Kept only for the current release
Advisories in the install tree
Kept only for the current release

SBOM

Today

Checks, downloads, dependents, people and the repository describe the package as it is now, so they are on the current release.

torch 0.17.0 | the package page

Sources

PartFromAs of
Release historyCRAN package versions28 Oct 2026
Advisoriesosv-advisories 1.0.0, R version 4.6.1 (2026-06-24)28 Oct 2026
CRAN checksCRAN check resultsKept only for the current release
Tests, documentation, coderpkg-analyzer 0.5.25 Oct 2026
CoveragecovrNot measured for this release
UseCRAN downloads, reverse dependencies, repositoryNot shown for this release

Daily data releases are kept on GitHub, so the data behind this record can be fetched again from v2026-10-28 (merged 23:10 UTC). Values not kept for a release say so and are never filled in from another release.