CRAN Package Check Results for Package mlr3torch

Last updated on 2025-10-24 18:50:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 62.91 405.99 468.90 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 43.46 266.70 310.16 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 323.00 439.62 762.62 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 283.00 458.49 741.49 OK
r-devel-windows-x86_64 0.3.1 58.00 298.00 356.00 ERROR
r-patched-linux-x86_64 0.3.1 78.02 386.44 464.46 OK
r-release-linux-x86_64 0.3.1 61.79 384.14 445.93 OK
r-release-macos-arm64 0.3.1 21.00 87.00 108.00 OK
r-release-macos-x86_64 0.3.1 43.00 191.00 234.00 OK
r-release-windows-x86_64 0.3.1 58.00 319.00 377.00 ERROR
r-oldrel-macos-arm64 0.3.1 20.00 89.00 109.00 OK
r-oldrel-macos-x86_64 0.3.1 46.00 182.00 228.00 OK
r-oldrel-windows-x86_64 0.3.1 73.00 439.00 512.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

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))() Error in (function (size, options) : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: <Anonymous> ... call_c_function -> do_call -> do.call -> <Anonymous> Execution halted Flavor: r-oldrel-windows-x86_64