CRAN Package Check Results for Package torch

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.16.1 763.32 404.74 1168.06 OK
r-devel-linux-x86_64-debian-gcc 0.16.1 626.40 274.52 900.92 OK
r-devel-linux-x86_64-fedora-clang 0.16.1 1560.00 4.76 1564.76 OK
r-devel-linux-x86_64-fedora-gcc 0.16.1 2160.00 22.49 2182.49 OK
r-devel-windows-x86_64 0.16.1 731.00 430.00 1161.00 OK
r-patched-linux-x86_64 0.16.1 894.23 384.88 1279.11 OK
r-release-linux-x86_64 0.16.1 882.14 385.60 1267.74 OK
r-release-macos-arm64 0.16.1 319.00 103.00 422.00 OK
r-release-macos-x86_64 0.16.1 594.00 248.00 842.00 OK
r-release-windows-x86_64 0.16.1 648.00 439.00 1087.00 OK
r-oldrel-macos-arm64 0.16.1 311.00 104.00 415.00 NOTE
r-oldrel-macos-x86_64 0.16.1 547.00 226.00 773.00 NOTE
r-oldrel-windows-x86_64 0.16.1 1095.00 690.00 1785.00 ERROR

Additional issues

rchk

Check Details

Version: 0.16.1
Check: installed package size
Result: NOTE installed size is 117.0Mb sub-directories of 1Mb or more: R 6.2Mb help 1.7Mb include 1.9Mb libs 106.9Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.16.1
Check: whether the namespace can be loaded with stated dependencies
Result: NOTE Warning: 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 A namespace must be able to be loaded with just the base namespace loaded: otherwise if the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. Flavor: r-oldrel-windows-x86_64

Version: 0.16.1
Check: Rd files
Result: WARN prepare_Rd: 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 Flavor: r-oldrel-windows-x86_64

Version: 0.16.1
Check: examples
Result: ERROR Running examples in 'torch-Ex.R' failed The error most likely occurred in: > ### Name: autograd_backward > ### Title: Computes the sum of gradients of given tensors w.r.t. graph > ### leaves. > ### Aliases: autograd_backward > > ### ** Examples > > if (torch_is_installed()) { + x <- torch_tensor(1, requires_grad = TRUE) + y <- 2 * x + + a <- torch_tensor(1, requires_grad = TRUE) + b <- 3 * a + + autograd_backward(list(y, b)) + } Error in torch_tensor_cpp(data, dtype, device, requires_grad, pin_memory) : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: torch_tensor -> <Anonymous> -> <Anonymous> -> torch_tensor_cpp Execution halted Flavor: r-oldrel-windows-x86_64