R Observatory
Search
install.packages("mlr3torch")
CRAN 30-day downloads, method
2,996+19% up on the 30 days before, the better direction
Test coverage, method
0%of lines run by tests

Deep Learning library that extends the mlr3 framework by building upon the 'torch' package. It allows to conveniently build, train, and evaluate deep learning models without having to worry about low level details. Custom architectures can be created using the graph language defined in 'mlr3pipelines'.

Maintainer
Sebastian Fischer
Latest release
31 Jan 2026
First release
8 Jul 2024

Compare with another package

More details
Releases
9
Needs compilation
No
Needs R
>= 3.5.0
Config/testthat/edition
3
RoxygenNote
7.3.3
Task views (1)
Collections (1) Method, Collections
  • mlr3verse, installed by the mlr3verse package
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("mlr3torch")
APA
Fischer, S., Binder, M., Bischl, B., Burk, L., Pfisterer, F., & Zhang, C. (2026). mlr3torch: Deep Learning with 'mlr3' (Version 0.3.3) [Computer software]. https://doi.org/10.32614/CRAN.package.mlr3torch
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 mlr3torch version 0.3.3 [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.

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.3
    Time taken
    330 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.3.3
    Time taken
    217 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.3.3
    Time taken
    237 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.3.3
    Time taken
    209 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    344 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.3.3
    Time taken
    68 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    299 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    456 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    339 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    324 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.3.3
    Time taken
    64 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    303 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    368 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
8 Jun 2026OK13000
7 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
3,073+21.1% up on the 30 days before, the better directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

2,091 of 26,530

CRAN

2,996 downloads in the last 30 days

Rank
2,091 of 26,530
Change
+19% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

73 downloads in the last 30 days

Rank
2,677 of 30,526
Change
+813% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,992 of 29,212
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
13
Dependent packages
1
Suggested by
3
Needs (13)
Installing it adds
46 packages, 26.1 MB of source
Of those, need compilation
21
Optional extras (18)
Dependent packages (1)
PackageTitleDownloads in 30 days
mlr3verseEasily Install and Load the 'mlr3' Package Family3,448
Functions
227
Public exports
157
Lines of R code
14,148
Median complexity
1
Functions (227)
Size and composition

Lines by kind (45,233)

KindLinesShare
R code14,14831%
Tests9,75222%
Documentation21,33347%

Lines by language

LanguageLinesShare
R23,85153%
Rd21,33347%
Markdown490.1%

Languages are counted from file extensions.

Files
398
R functions
227
Object systems
S3: 62 methods, R6: 112 classes
Complexity
Median
1
Mean
2.39
Highest
18
Median lines per function
7
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
227
Calls
124
Unconnected
102
Groups
16
Growth (9 releases)
Total lines by release
35,984 on 8 Jul 202445,233 on 31 Jan 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
0%
Expressions run by tests
0%
Test cases
648
Exports named in tests
80.9%
Coverage by file (75)
Coverage run
Lines counted
4,234
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
648
Snapshot tests
7
Lines of tests
9,752
Test lines per line of code
0.69
Exports documented
100%
Arguments documented
97.2%
Return value documented
15.3%
Help pages with examples
60.9%
Examples run in checks
100%
Other documentation
README
Yes, 752 words
Release notes file
Yes
Help pages
184
Lines of documentation
21,333

mlr-org / mlr3torch on github.com

Stars
56no change on 30 days ago
Forks
10
Open issues
8
Last commit
22 Oct 2026
Activity
Commits
504
Open pull requests
2
Tagged releases
9
Latest tagged release
v0.3.3, 3 Mar 2026
In development
Default branch at 0.3.3.9000, ahead of CRAN 0.3.3 (checked 2026-10-25)
Issues closed in
546 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
81%
Created
12 Oct 2021
Licence file reads as
–
Development practices (17)
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 communityContributing guide (inherited from mlr-org)
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-10-20
The repository has a site deploy workflow
pkgdown site last built 2026-03-03
Reproducibility and dev environmentdata-raw/
CRAN release processcran-comments.md
Lint, format, editorlintr, Lint workflow, jarl, EditorConfig, RStudio project
Git structural.gitattributes

Method, repository practices

Across mlr-org

Claude Codeat least 5 crediting itClaude CodeFirst seen 31 Jan 2026at least 5 crediting it
Claude Opus 51MClaude Opus 51M context window16 Aug 20265 commits

Tools

ToolFirst seenFoundCommits crediting it
Claude Code31 Jan 2026Seen in the repository.claudeNamed in .Rbuildignore.claudeNamed in .gitignore.claudePull request it wrote: opened by a project member5 at least
  • Seen in the repository
  • Named in .Rbuildignore
  • Named in .gitignore
  • Pull request

Models

ModelContext windowCommitsFirst commitLast commitCredit lines of
Claude Opus 51M516 Aug 202616 Aug 2026Claude Code

Across mlr-org

R releases
  • On CRAN
  • Release
VersionReleasedR
0.3.3 current31 Jan 20264.5.2
0.3.231 Oct 20254.5.2
0.3.126 Aug 20254.5.1
0.3.07 Jul 20254.5.1
0.2.113 Feb 20254.4.2
0.2.07 Feb 20254.4.2
0.1.215 Oct 20244.4.1
0.1.112 Sep 20244.4.1
Earlier versions (1)
VersionReleasedR
0.1.08 Jul 20244.4.1
Release notes (0.3.3)
  • Feat: Improve lazy_tensor printing.
  • Fix: Improve consistency in as_lazy_tensor() when converting 1D tensors to lazy tensors.
  • Various minor bug fixes