CRAN Package Check Results for Package mlr3torch

Last updated on 2025-08-29 06:49:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 59.32 339.05 398.37 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 35.17 226.21 261.38 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 636.09 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 621.04 OK
r-devel-windows-x86_64 0.3.1 56.00 299.00 355.00 ERROR
r-patched-linux-x86_64 0.3.1 65.10 318.81 383.91 OK
r-release-linux-x86_64 0.3.0 55.17 318.80 373.97 OK
r-release-macos-arm64 0.3.1 108.00 OK
r-release-macos-x86_64 0.3.1 234.00 OK
r-release-windows-x86_64 0.3.1 58.00 312.00 370.00 ERROR
r-oldrel-macos-arm64 0.3.1 109.00 OK
r-oldrel-macos-x86_64 0.3.1 228.00 OK
r-oldrel-windows-x86_64 0.3.1 73.00 389.00 462.00 ERROR

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))() Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64