R Observatory
Search

Older releaseCurrent release 0.17.0

torch

Released
18 Sep 2020R 4.0.2 at the time
Advisories, method
None knownfor this release
Test coverage, method
–not measured for this release
Public exports, method
4946 added, 0 removed

Record made 28 Oct 2026, 23:07 UTC from data release v2026-10-28, merged 18:49 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
2,031 days28 releases in between
Advisories
None knownfor either release
Exports
9 removed270 added as well
Files changed
853+802,781 −436,247 lines

Values that differ (20)

MeasureSection0.0.30.17.0
MaintainerReleaseDaniel FalbelTomasz Kalinowski
Download sizeRelease2.5 MB1.9 MB
AuthorsReleaseDaniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, RStudioTomasz Kalinowski, Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, Sebastian Fischer, Maximilian Pichler, RStudio
Public exportsCode494755
Internal functionsCode2,7116,280
Lines of R codeCode51,179102,571
Lines of compiled codeCode43,631, 34.6% of code80,023, 35.0% of code
ComplexityCodemean 1.1, highest 91mean 1.1, highest 155
TestsTestsYes, testthat (edition not declared, 2nd by default), 237 test blocksYes, testthat (edition not declared, 2nd by default), 711 test blocks
Test lines per line of codeTests0.070.12
Exports named in testsTests26.3%46%
Help pages with running examplesTests296 of 296442 of 442
Help pagesDocumentation464702
Exports documentedDocumentation99.8%99.9%
Exports with examplesDocumentation64.2%63.7%
Return value documentedDocumentation2.4%6.2%
VignettesDocumentation51
NEWSDocumentationYes, does not mention 0.0.3Yes, mentions 0.17.0
ImportsDependenciesRcpp, R6, withr, rlang, methods, utils, stats, bit64, magrittrRcpp, 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 (>= 2.1.0), covr, knitr, rmarkdown, glue, palmerpenguinstestthat (>= 3.0.0), covr, knitr (>= 1.36), rmarkdown, palmerpenguins, mvtnorm, numDeriv, katex
Exports added (270)
  • OptimizerIgnite
  • as_iterator
  • backends_cudnn_is_available
  • backends_cudnn_version
  • backends_mkl_is_available
  • backends_mkldnn_is_available
  • backends_mps_is_available
  • backends_openmp_is_available
  • buffer_from_torch_tensor
  • call_torch_function
  • clone_module
  • contrib_sort_vertices
  • cuda_amp_grad_scaler
  • cuda_dump_memory_snapshot
  • cuda_empty_cache
  • cuda_get_device_capability
  • cuda_get_rng_state
  • cuda_memory_snapshot
  • cuda_memory_stats
  • cuda_memory_summary
  • cuda_record_memory_history
  • cuda_runtime_version
  • cuda_set_rng_state
  • cuda_synchronize
  • dataset_subset
  • distr_bernoulli
  • distr_categorical
  • distr_chi2
  • distr_gamma
  • distr_mixture_same_family
  • distr_multivariate_normal
  • distr_normal
  • distr_poisson
  • get_install_libs_url
  • install_torch_from_file
  • install_torch_sitrep
  • is_nn_buffer
  • is_nn_module
  • is_nn_parameter
  • is_optimizer
  • iterable_dataset
  • jit_compile
  • jit_load
  • jit_ops
  • jit_save
  • jit_save_for_mobile
  • jit_scalar
  • jit_serialize
  • jit_trace
  • jit_trace_module
  • jit_tuple
  • jit_unserialize
  • linalg_cholesky
  • linalg_cholesky_ex
  • linalg_cond
  • linalg_det
  • linalg_eig
  • linalg_eigh
  • linalg_eigvals
  • linalg_eigvalsh
  • linalg_householder_product
  • linalg_inv
  • linalg_inv_ex
  • linalg_lstsq
  • linalg_matrix_norm
  • linalg_matrix_power
  • linalg_matrix_rank
  • linalg_multi_dot
  • linalg_norm
  • linalg_pinv
  • linalg_qr
  • linalg_slogdet
  • linalg_solve
  • linalg_solve_triangular
  • linalg_svd
  • linalg_svdvals
  • linalg_tensorinv
  • linalg_tensorsolve
  • linalg_vector_norm
  • local_autocast
  • local_device
  • local_enable_grad
  • local_no_grad
  • local_torch_manual_seed
  • loop
  • lr_cosine_annealing
  • lr_lambda
  • lr_multiplicative
  • lr_one_cycle
  • lr_reduce_on_plateau
  • lr_scheduler
  • lr_step
  • nn_aum_loss
  • nn_batch_norm3d
  • nn_bce_with_logits_loss
  • nn_buffer
  • nn_contrib_sparsemax
  • nn_cosine_embedding_loss
  • nn_ctc_loss
  • nn_embedding_bag
  • nn_flatten
  • nn_group_norm
  • nn_gru
  • nn_hinge_embedding_loss
  • nn_kl_div_loss
  • nn_l1_loss
  • nn_layer_norm
  • nn_lstm
  • nn_margin_ranking_loss
  • nn_module_dict
  • nn_mse_loss
  • nn_multi_margin_loss
  • nn_multilabel_margin_loss
  • nn_multilabel_soft_margin_loss
  • nn_nll_loss
  • nn_pairwise_distance
  • nn_parameter
  • nn_poisson_nll_loss
  • nn_prune_head
  • nn_silu
  • nn_smooth_l1_loss
  • nn_soft_margin_loss
  • nn_transformer_encoder
  • nn_transformer_encoder_layer
  • nn_triplet_margin_loss
  • nn_triplet_margin_with_distance_loss
  • nn_unflatten
  • nn_upsample
  • nn_utils_clip_grad_norm_
  • nn_utils_clip_grad_value_
  • nn_utils_weight_norm
  • nnf_area_under_min_fpr_fnr
  • nnf_contrib_sparsemax
  • nnf_silu
  • nnf_triplet_margin_with_distance_loss
  • optim_adadelta
  • optim_adagrad
  • optim_adamw
  • optim_asgd
  • optim_ignite_adagrad
  • optim_ignite_adam
  • optim_ignite_adamw
  • optim_ignite_rmsprop
  • optim_ignite_sgd
  • optim_lbfgs
  • optim_required
  • optim_rmsprop
  • optim_rprop
  • optimizer
  • optimizer_ignite
  • sampler
  • set_autocast
  • slc
  • torch_absolute
  • torch_acosh
  • torch_amax
  • torch_amin
  • torch_arccos
  • torch_arccosh
  • torch_arcsin
  • torch_arcsinh
  • torch_arctan
  • torch_arctanh
  • torch_asinh
  • torch_atanh
  • torch_atleast_1d
  • torch_atleast_2d
  • torch_atleast_3d
  • torch_bfloat16
  • torch_block_diag
  • torch_bucketize
  • torch_cdouble
  • torch_cfloat
  • torch_cfloat128
  • torch_cfloat32
  • torch_cfloat64
  • torch_chalf
  • torch_channel_shuffle
  • torch_clip
  • torch_clone
  • torch_complex
  • torch_count_nonzero
  • torch_deg2rad
  • torch_dequantize
  • torch_diff
  • torch_divide
  • torch_dstack
  • torch_exp2
  • torch_fft_fft
  • torch_fft_fftfreq
  • torch_fft_ifft
  • torch_fft_irfft
  • torch_fft_rfft
  • torch_fix
  • torch_fliplr
  • torch_flipud
  • torch_float8_e4m3fn
  • torch_float8_e5m2
  • torch_gcd
  • torch_get_num_interop_threads
  • torch_get_num_threads
  • torch_get_rng_state
  • torch_greater
  • torch_greater_equal
  • torch_heaviside
  • torch_hstack
  • torch_hypot
  • torch_i0
  • torch_index
  • torch_index_put
  • torch_index_put_
  • torch_install_path
  • torch_is_nonzero
  • torch_isclose
  • torch_isneginf
  • torch_isposinf
  • torch_isreal
  • torch_istft
  • torch_kaiser_window
  • torch_kron
  • torch_lcm
  • torch_ldexp
  • torch_less
  • torch_less_equal
  • torch_logaddexp
  • torch_logaddexp2
  • torch_logcumsumexp
  • torch_logit
  • torch_lu_unpack
  • torch_matrix_exp
  • torch_maximum
  • torch_minimum
  • torch_movedim
  • torch_multiply
  • torch_nanquantile
  • torch_nansum
  • torch_negative
  • torch_nextafter
  • torch_not_equal
  • torch_outer
  • torch_polar
  • torch_quantile
  • torch_rad2deg
  • torch_scalar_tensor
  • torch_scaled_dot_product_attention
  • torch_searchsorted
  • torch_serialize
  • torch_set_num_interop_threads
  • torch_set_num_threads
  • torch_set_rng_state
  • torch_sgn
  • torch_signbit
  • torch_sparse_sampled_addmm
  • torch_sub
  • torch_subtract
  • torch_take_along_dim
  • torch_tensor_from_buffer
  • torch_unsafe_chunk
  • torch_unsafe_split
  • torch_vander
  • torch_vdot
  • torch_view_as_complex
  • torch_view_as_real
  • torch_vstack
  • unset_autocast
  • with_autocast
  • with_detect_anomaly
  • with_device
  • with_torch_manual_seed
  • yield
Exports removed (9)
  • torch_eig
  • torch_fft
  • torch_ifft
  • torch_irfft
  • torch_lstsq
  • torch_matrix_rank
  • torch_rfft
  • torch_solve
  • torch_symeig
Most changed files (12 of 853)
FileLines addedLines deleted
tools/torchgen/inst/declaration/Declarations-2.8.0.yaml213,8510
tools/torchgen/inst/declaration/Declarations-1.7.0.yaml111,6160
src/RcppExports.cpp60,68333,645
tools/torchgen/inst/declaration/Declarations-1.12.1.yaml52,13932,081
tools/torchgen/inst/declaration/Declarations-1.9.0.yaml38,46230,660
tools/torchgen/inst/declaration/Declarations-1.5.0.yaml063,549
tools/torchgen/inst/declaration/Declarations-1.4.0.yaml060,108
tools/torchgen/inst/declaration/Declarations-1.3.0.yaml059,165
tools/torchgen/inst/declaration/Declarations-1.13.1.yaml44,8758,647
tools/torchgen/inst/declaration/Declarations-1.8.0.yaml29,61119,357
R/gen-namespace.R34,36111,441
src/gen-namespace.cpp27,45615,369

Both releases side by side

Release

Published
18 Sep 2020
Status
Replaced by 0.1.0 on 28 Sep 2020
Previous
0.0.2, 31 Aug 2020
License
MIT + file LICENSE, OSI approved
Maintainer
Daniel Falbel
Download size
2.5 MB
Authors
Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, RStudio
This release
None known
Results
Kept only for the current release
Lines of R code
51,179
Public exports
494
Internal functions
2,711
Mean complexity
1.1the most is 91

Lines by kind (126,171)

KindLinesShare
R code51,17941%
Tests3,4193%
Documentation19,06415%
Guides8,8787%
Compiled code43,63135%
Exports changed since 0.0.2
6 added, 0 removed
Test cases
246
Lines of tests
3,419
Exports named in tests
26.3%
Tests
Yes, testthat (edition not declared, 2nd by default), 237 test blocks
Test lines per line of code
0.07
Coverage
Not measured for this release
Help pages with running examples
296 of 296
Exports documented
99.8%
Arguments documented
100%
Return value documented
2.4%
Vignettes
5
Help pages
464
Exports with examples
64.2%
NEWS
Yes, does not mention 0.0.3
Citation file
No
Website
Yes
Depends
None
Imports
Rcpp, R6, withr, rlang, methods, utils, stats, bit64, magrittr
LinkingTo
Rcpp
Suggests
testthat (>= 2.1.0), covr, knitr, rmarkdown, glue, palmerpenguins
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 18:49 UTC). Values not kept for a release say so and are never filled in from another release.