CRAN Package Check Results for Package causalOT

Last updated on 2025-11-03 11:49:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 63.93 179.63 243.56 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.2 40.84 131.21 172.05 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.2 371.00 66.69 437.69 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2 283.00 NOTE
r-devel-windows-x86_64 1.0.2 67.00 118.00 185.00 ERROR
r-patched-linux-x86_64 1.0.2 65.99 172.28 238.27 NOTE
r-release-linux-x86_64 1.0.2 61.91 170.77 232.68 NOTE
r-release-macos-arm64 1.0.2 27.00 76.00 103.00 NOTE
r-release-macos-x86_64 1.0.2 44.00 120.00 164.00 NOTE
r-release-windows-x86_64 1.0.2 66.00 131.00 197.00 WARN
r-oldrel-macos-arm64 1.0.2 25.00 51.00 76.00 NOTE
r-oldrel-macos-x86_64 1.0.2 30.00 77.00 107.00 NOTE
r-oldrel-windows-x86_64 1.0.2 81.00 181.00 262.00 WARN

Check Details

Version: 1.0.2
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Eric Dunipace <edunipace@mail.harvard.edu>’ The Description field contains Dunipace, Eric (2021) <arXiv:2109.01991>. The package will build the Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘cotOOP.R’ ‘utils.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 1.0.2
Check: examples
Result: ERROR Running examples in 'causalOT-Ex.R' failed The error most likely occurred in: > ### Name: Measure > ### Title: An R6 Class for setting up measures > ### Aliases: Measure > > ### ** Examples > > if(torch::torch_is_installed()) { + m <- Measure(x = matrix(0, 10, 2), adapt = "none") + print(m) + m$x + m$x <- matrix(1,10,2) # must have same dimensions + m$x + m$weights + m$weights <- 1:10/sum(1:10) + m$weights + + # with gradients + m <- Measure(x = matrix(0, 10, 2), adapt = "weights") + m$requires_grad # TRUE + m$requires_grad <- "none" # turns off + m$requires_grad # FALSE + m$requires_grad <- "x" + m$requires_grad # TRUE + m <- Measure(matrix(0, 10, 2), adapt = "none") + m$grad # NULL + m <- Measure(matrix(0, 10, 2), adapt = "weights") + loss <- sum(m$weights * 1:10) + loss$backward() + m$grad + # note the weights gradient is on the log softmax scale + #and the first parameter is fixed for identifiability + m$grad <- rep(1,9) + m$grad + } Flavor: r-devel-windows-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(causalOT) > > test_check("causalOT") Flavor: r-devel-windows-x86_64

Version: 1.0.2
Check: dependencies in R code
Result: NOTE Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.2
Check: S3 generic/method consistency
Result: WARN Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. See section 'Generic functions and methods' in the 'Writing R Extensions' manual. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.2
Check: foreign function calls
Result: NOTE Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.2
Check: for code/documentation mismatches
Result: WARN Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.2
Check: Rd \usage sections
Result: NOTE Torch libraries are installed but loading them was unsuccessful. Torch libraries are installed but loading them was unsuccessful. The \usage entries for S3 methods should use the \method markup and not their full name. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.2
Check: installed package size
Result: NOTE installed size is 7.5Mb sub-directories of 1Mb or more: R 2.3Mb libs 4.5Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.0.2
Check: package dependencies
Result: NOTE Package suggested but not available for checking: 'rkeops' Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.