CRAN Package Check Results for Package unfold

Last updated on 2025-10-30 17:50:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 25.28 302.33 327.61 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 17.92 179.59 197.51 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 50.00 392.41 442.41 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.57 288.78 313.35 OK
r-release-linux-x86_64 1.0.0 24.49 294.20 318.69 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 25.00 160.00 185.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 31.00 213.00 244.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") Flavor: r-devel-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. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [7s] 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-release-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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.