Last updated on 2025-08-24 01:49:43 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
approxOT | 2 | 11 | |
causalOT | 1 | 12 | |
RcppCGAL | 5 | 8 | |
WpProj | 2 | 11 |
Current CRAN status: NOTE: 2, OK: 11
Version: 1.2
Check: installed package size
Result: NOTE
installed size is 22.1Mb
sub-directories of 1Mb or more:
libs 21.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 1, NOTE: 12
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
Current CRAN status: NOTE: 5, OK: 8
Version: 6.0.1
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘knitr’ ‘rmarkdown’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 6.0.1
Check: installed package size
Result: NOTE
installed size is 46.6Mb
sub-directories of 1Mb or more:
include 46.5Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 11
Version: 0.2.3
Check: installed package size
Result: NOTE
installed size is 43.3Mb
sub-directories of 1Mb or more:
libs 42.3Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64