R Observatory
Search
install.packages("torchdatasets")
CRAN 30-day downloads, method
417−19.8% down on the 30 days before, the worse direction
Test coverage, method
0%of lines run by tests

Provides datasets in a format that can be easily consumed by torch 'dataloaders'. Handles data downloading from multiple sources, caching and pre-processing so users can focus only on their model implementations.

Maintainer
Tomasz Kalinowski
Latest release
29 Apr 2026
First release
19 Jan 2021

Compare with another package

More details
Releases
6
Needs compilation
No
RoxygenNote
7.3.3
Collections (1) Method, Collections
  • mlverse, in the mlverse organization on GitHub
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("torchdatasets")
APA
Kalinowski, T., Falbel, D., & RStudio, . (2026). torchdatasets: Ready to Use Extra Datasets for Torch (Version 0.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.torchdatasets
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 torchdatasets version 0.3.2 [Data set]. HJJB, LLC. Data release v2026-10-27. https://doi.org/10.5281/zenodo.21843040
About

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

All 13 check platforms pass.

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

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.3.2
    Time taken
    67 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.3.2
    Time taken
    53 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.3.2
    Time taken
    68 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.3.2
    Time taken
    46 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    92 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.3.2
    Time taken
    19 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    59 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    96 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    62 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    62 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.3.2
    Time taken
    20 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    66 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.3.2
    Time taken
    81 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

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

CRAN rank

7,793 of 26,529

CRAN

417 downloads in the last 30 days

Rank
7,793 of 26,529
Change
−19.8% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

4 downloads in the last 30 days

Rank
10,337 of 30,526
Change
−42.9% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

1 downloads in the last 30 days

Rank
25,650 of 29,212
Change
−80% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
8
Dependent packages
0
Suggested by
0
Needs (8)
Installing it adds
52 packages, 32.5 MB of source
Of those, need compilation
30
Optional extras (5)
Functions
4
Public exports
9
Lines of R code
947
Median complexity
2.5
Functions (4)
Size and composition

Lines by kind (1,552)

KindLinesShare
R code94761%
Tests23015%
Documentation37524%

Lines by language

LanguageLinesShare
R1,17776%
Rd37524%

Languages are counted from file extensions.

Files
36
R functions
4
Complexity
Median
2.5
Mean
2.5
Highest
4
Median lines per function
11
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
4
Calls
1
Unconnected
2
Groups
1
Growth (6 releases)
Total lines by release
344 on 19 Jan 20211,552 on 29 Apr 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
0%
Expressions run by tests
0%
Test cases
15
Exports named in tests
100%
Coverage by file (1)
Coverage run
Lines counted
28
Lines the tests ran
0
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat, tinytest
Test cases
15
Lines of tests
230
Test lines per line of code
0.24
Exports documented
100%
Arguments documented
100%
Return value documented
55.6%
Help pages with examples
55.6%
Examples run in checks
80%
Other documentation
README
Yes, 136 words
Release notes file
Yes
Help pages
9
Lines of documentation
375

mlverse / torchdatasets on github.com

Stars
17no change on 30 days ago
Forks
6
Open issues
0
Last commit
30 Apr 2026
Activity
Commits
176
Open pull requests
0
Tagged releases
6
Latest tagged release
v0.3.2, 30 Apr 2026
In development
Default branch at 0.3.2.9000, ahead of CRAN 0.3.2 (checked 2026-10-25)
Issues closed in
3 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
96%
Created
29 Sep 2020
Licence file reads as
–
Development practices (7)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows
Docs sourcepkgdown
GitHub Pages site last deployed 2026-04-30
The repository has a site deploy workflow
pkgdown site last built 2026-04-30
CRAN release processcran-comments.md
Lint, format, editorRStudio project

Method, repository practices

Across mlverse

R releases
  • On CRAN
  • Release
VersionReleasedREvents
0.3.2 current29 Apr 20264.6.0Maintainer: Tomasz Kalinowski
0.3.120 Jun 20244.4.1
0.3.014 Feb 20234.2.2
0.2.031 Oct 20224.2.2
0.1.07 Oct 20214.1.1
0.0.119 Jan 20214.0.3