CRAN Package Check Results for Package mlr3torch

Last updated on 2025-11-01 07:48:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 67.19 407.85 475.04 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 40.71 269.42 310.13 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 167.00 354.00 521.00 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 54.00 304.82 358.82 OK
r-devel-windows-x86_64 0.3.1 58.00 298.00 356.00 ERROR
r-patched-linux-x86_64 0.3.1 75.47 386.74 462.21 OK
r-release-linux-x86_64 0.3.1 61.74 381.82 443.56 OK
r-release-macos-arm64 0.3.2 22.00 90.00 112.00 OK
r-release-macos-x86_64 0.3.2 49.00 214.00 263.00 OK
r-release-windows-x86_64 0.3.2 31.00 285.00 316.00 OK
r-oldrel-macos-arm64 0.3.2 22.00 92.00 114.00 OK
r-oldrel-macos-x86_64 0.3.2 48.00 207.00 255.00 OK
r-oldrel-windows-x86_64 0.3.2 37.00 367.00 404.00 OK

Check Details

Version: 0.3.1
Check: examples
Result: ERROR Running examples in 'mlr3torch-Ex.R' failed The error most likely occurred in: > ### Name: DataDescriptor > ### Title: Data Descriptor > ### Aliases: DataDescriptor > > ### ** Examples > > ## Don't show: > if (torch::torch_is_installed()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + # Create a dataset + ds = dataset( + initialize = function() self$x = torch_randn(10, 3, 3), + .getitem = function(i) list(x = self$x[i, ]), + .length = function() nrow(self$x) + )() + dd = DataDescriptor$new(ds, list(x = c(NA, 3, 3))) + dd + # is the same as using the converter: + as_data_descriptor(ds, list(x = c(NA, 3, 3))) + ## Don't show: + }) # examplesIf > ds = dataset(initialize = function() self$x = torch_randn(10, 3, 3), .getitem = function(i) list(x = self$x[i, + ]), .length = function() nrow(self$x))() Flavor: r-devel-windows-x86_64