CRAN Package Check Results for Package unfold

Last updated on 2025-10-23 02:50:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 25.87 300.97 326.84 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 18.21 176.08 194.29 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 117.00 313.05 430.05 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 61.00 367.65 428.65 OK
r-devel-windows-x86_64 1.0.0 18.00 130.00 148.00 ERROR
r-patched-linux-x86_64 1.0.0 24.11 292.25 316.36 OK
r-release-linux-x86_64 1.0.0 25.47 289.36 314.83 OK
r-release-macos-arm64 1.0.0 6.00 44.00 50.00 OK
r-release-macos-x86_64 1.0.0 14.00 88.00 102.00 OK
r-release-windows-x86_64 1.0.0 17.00 131.00 148.00 ERROR
r-oldrel-macos-arm64 1.0.0 6.00 45.00 51.00 OK
r-oldrel-macos-x86_64 1.0.0 13.00 89.00 102.00 OK
r-oldrel-windows-x86_64 1.0.0 24.00 168.00 192.00 ERROR

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(unfold) > > test_check("unfold") Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 1.0.0
Check: whether package can be installed
Result: WARN Found the following significant warnings: Warning: Torch libraries are installed but loading them caused a segfault. Flavor: r-oldrel-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(unfold) Warning message: Torch libraries are installed but loading them caused a segfault. Please reinstall torch with `install_torch(reinstall = TRUE)` You can disable this check by setting `TORCH_VERIFY_LOAD` to "FALSE" ! callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed > > test_check("unfold") [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-main.R:27:3'): unfold returns expected object structure ──────── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─unfold::unfold(...) at test-main.R:27:3 2. └─torch::torch_tensor(reframed_array) 3. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 4. └─methods$initialize(NULL, NULL, ...) 5. └─torch:::torch_tensor_cpp(...) ── Error ('test-main.R:43:3'): predictive functions exist and are callable ───── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─unfold::unfold(...) at test-main.R:43:3 2. └─torch::torch_tensor(reframed_array) 3. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 4. └─methods$initialize(NULL, NULL, ...) 5. └─torch:::torch_tensor_cpp(...) ── Error ('test-main.R:57:3'): unfold is reproducible with fixed seed (within tolerance) ── <std::runtime_error/C++Error/error/condition> Error in `torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─unfold::unfold(...) at test-main.R:57:3 2. └─torch::torch_tensor(reframed_array) 3. └─Tensor$new(data, dtype, device, requires_grad, pin_memory) 4. └─methods$initialize(NULL, NULL, ...) 5. └─torch:::torch_tensor_cpp(...) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64