CRAN Package Check Results for Package torch

Last updated on 2025-10-30 13:48:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.16.1 750.96 407.40 1158.36 OK
r-devel-linux-x86_64-debian-gcc 0.16.1 626.50 280.08 906.58 OK
r-devel-linux-x86_64-fedora-clang 0.16.1 1140.00 375.89 1515.89 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 879.09 383.48 1262.57 OK
r-release-linux-x86_64 0.16.1 896.11 385.77 1281.88 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 940.00 534.00 1474.00 ERROR
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: 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. Flavors: r-release-windows-x86_64, 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 Flavors: r-release-windows-x86_64, 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 Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

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

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.