CRAN Package Check Results for Package causalOT

Last updated on 2025-08-23 12:48:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 57.30 147.07 204.37 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.2 37.59 105.44 143.03 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.2 359.66 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2 355.63 NOTE
r-devel-windows-x86_64 1.0.2 68.00 151.00 219.00 NOTE
r-patched-linux-x86_64 1.0.2 60.22 138.51 198.73 NOTE
r-release-linux-x86_64 1.0.2 58.61 138.73 197.34 NOTE
r-release-macos-arm64 1.0.2 103.00 NOTE
r-release-macos-x86_64 1.0.2 164.00 NOTE
r-release-windows-x86_64 1.0.2 69.00 161.00 230.00 NOTE
r-oldrel-macos-arm64 1.0.2 76.00 NOTE
r-oldrel-macos-x86_64 1.0.2 107.00 NOTE
r-oldrel-windows-x86_64 1.0.2 81.00 147.00 228.00 ERROR

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: 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

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-oldrel-windows-x86_64

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

mirror server hosted at Truenetwork, Russian Federation.