CRAN Package Check Results for Package causalOT

Last updated on 2025-10-21 09:48:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 65.53 178.49 244.02 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.2 43.03 129.72 172.75 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.2 430.30 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2 421.82 NOTE
r-devel-windows-x86_64 1.0.2 67.00 118.00 185.00 ERROR
r-patched-linux-x86_64 1.0.2 56.31 143.86 200.17 NOTE
r-release-linux-x86_64 1.0.2 65.67 171.80 237.47 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 70.00 120.00 190.00 ERROR
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 85.00 161.00 246.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: HTML version of manual
Result: NOTE Found the following HTML validation problems: DataSim-CRASH3.html:130:1 (DataSim-CRASH3.Rd:81): Warning: <h5> anchor "Usage" already defined DataSim-CRASH3.html:146:1 (DataSim-CRASH3.Rd:91): Warning: <h5> anchor "Usage" already defined DataSim-CRASH3.html:162:1 (DataSim-CRASH3.Rd:101): Warning: <h5> anchor "Usage" already defined DataSim-CRASH3.html:178:1 (DataSim-CRASH3.Rd:111): Warning: <h5> anchor "Usage" already defined DataSim-CRASH3.html:233:1 (DataSim-CRASH3.Rd:153): Warning: <h5> anchor "Usage" already defined DataSim-CRASH3.html:239:1 (DataSim-CRASH3.Rd:157): Warning: <h5> anchor "Arguments" already defined DataSimClass-Hainmueller.html:122:1 (DataSimClass-Hainmueller.Rd:72): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:138:1 (DataSimClass-Hainmueller.Rd:82): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:154:1 (DataSimClass-Hainmueller.Rd:92): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:170:1 (DataSimClass-Hainmueller.Rd:102): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:270:1 (DataSimClass-Hainmueller.Rd:178): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:286:1 (DataSimClass-Hainmueller.Rd:188): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:302:1 (DataSimClass-Hainmueller.Rd:198): Warning: <h5> anchor "Usage" already defined DataSimClass-Hainmueller.html:308:1 (DataSimClass-Hainmueller.Rd:202): Warning: <h5> anchor "Arguments" already defined DataSimClass.html:111:1 (DataSimClass.Rd:56): Warning: <h5> anchor "Usage" already defined DataSimClass.html:127:1 (DataSimClass.Rd:66): Warning: <h5> anchor "Usage" already defined DataSimClass.html:143:1 (DataSimClass.Rd:76): Warning: <h5> anchor "Usage" already defined DataSimClass.html:159:1 (DataSimClass.Rd:86): Warning: <h5> anchor "Usage" already defined DataSimClass.html:175:1 (DataSimClass.Rd:96): Warning: <h5> anchor "Usage" already defined DataSimClass.html:191:1 (DataSimClass.Rd:106): Warning: <h5> anchor "Usage" already defined DataSimClass.html:207:1 (DataSimClass.Rd:116): Warning: <h5> anchor "Usage" already defined DataSimClass.html:223:1 (DataSimClass.Rd:126): Warning: <h5> anchor "Usage" already defined DataSimClass.html:239:1 (DataSimClass.Rd:136): Warning: <h5> anchor "Usage" already defined LaLonde.html:122:1 (LaLonde.Rd:76): Warning: <h5> anchor "Usage" already defined LaLonde.html:138:1 (LaLonde.Rd:86): Warning: <h5> anchor "Usage" already defined LaLonde.html:154:1 (LaLonde.Rd:96): Warning: <h5> anchor "Usage" already defined LaLonde.html:170:1 (LaLonde.Rd:106): Warning: <h5> anchor "Usage" already defined LaLonde.html:186:1 (LaLonde.Rd:116): Warning: <h5> anchor "Usage" already defined LaLonde.html:250:1 (LaLonde.Rd:167): Warning: <h5> anchor "Usage" already defined LaLonde.html:266:1 (LaLonde.Rd:177): Warning: <h5> anchor "Usage" already defined LaLonde.html:272:1 (LaLonde.Rd:181): Warning: <h5> anchor "Arguments" already defined Measure.html:181:1 (Measure.Rd:92): Warning: <h5> anchor "Usage" already defined Measure.html:197:1 (Measure.Rd:101): Warning: <h5> anchor "Usage" already defined Measure_-class.html:248:1 (Measure_-class.Rd:152): Warning: missing </ul> before </div> Measure_-class.html:128:1 (Measure_-class.Rd:74): Warning: <h5> anchor "Usage" already defined Measure_-class.html:144:1 (Measure_-class.Rd:84): Warning: <h5> anchor "Usage" already defined Measure_-class.html:173:1 (Measure_-class.Rd:101): Warning: <h5> anchor "Usage" already defined Measure_-class.html:188:1 (Measure_-class.Rd:114): Warning: <h5> anchor "Arguments" already defined Measure_-class.html:225:1 (Measure_-class.Rd:141): Warning: <h5> anchor "Usage" already defined Measure_-class.html:231:1 (Measure_-class.Rd:145): Warning: <h5> anchor "Arguments" already defined OTProblem.html:166:1 (OTProblem.Rd:77): Warning: <h5> anchor "Usage" already defined OTProblem.html:172:1 (OTProblem.Rd:80): Warning: <h5> anchor "Arguments" already defined OTProblem.html:195:1 (OTProblem.Rd:93): Warning: <h5> anchor "Usage" already defined OTProblem.html:201:1 (OTProblem.Rd:96): Warning: <h5> anchor "Arguments" already defined OTProblem.html:224:1 (OTProblem.Rd:109): Warning: <h5> anchor "Usage" already defined OTProblem.html:230:1 (OTProblem.Rd:112): Warning: <h5> anchor "Arguments" already defined OTProblem.html:251:1 (OTProblem.Rd:124): Warning: <h5> anchor "Usage" already defined OTProblem.html:268:1 (OTProblem.Rd:138): Warning: <h5> anchor "Arguments" already defined OTProblem.html:325:1 (OTProblem.Rd:169): Warning: <h5> anchor "Usage" already defined OTProblem.html:340:1 (OTProblem.Rd:181): Warning: <h5> anchor "Arguments" already defined OTProblem.html:367:1 (OTProblem.Rd:195): Warning: <h5> anchor "Examples" already defined OTProblem.html:386:1 (OTProblem.Rd:207): Warning: <h5> anchor "Usage" already defined OTProblem.html:396:1 (OTProblem.Rd:214): Warning: <h5> anchor "Arguments" already defined OTProblem.html:413:1 (OTProblem.Rd:223): Warning: <h5> anchor "Examples" already defined OTProblem.html:434:1 (OTProblem.Rd:237): Warning: <h5> anchor "Usage" already defined OTProblem.html:440:1 (OTProblem.Rd:240): Warning: <h5> anchor "Returns" already defined OTProblem.html:461:1 (OTProblem.Rd:248): Warning: <h5> anchor "Examples" already defined OTProblem.html:480:1 (OTProblem.Rd:260): Warning: <h5> anchor "Usage" already defined OTProblem.html:486:1 (OTProblem.Rd:263): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:510:1 (OTProblem_-class.Rd:305): Warning: missing </ul> before </div> OTProblem_-class.html:142:1 (OTProblem_-class.Rd:71): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:148:1 (OTProblem_-class.Rd:75): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:171:1 (OTProblem_-class.Rd:88): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:177:1 (OTProblem_-class.Rd:92): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:200:1 (OTProblem_-class.Rd:105): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:206:1 (OTProblem_-class.Rd:109): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:229:1 (OTProblem_-class.Rd:122): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:235:1 (OTProblem_-class.Rd:126): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:258:1 (OTProblem_-class.Rd:139): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:264:1 (OTProblem_-class.Rd:143): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:296:1 (OTProblem_-class.Rd:162): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:313:1 (OTProblem_-class.Rd:177): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:344:1 (OTProblem_-class.Rd:202): Warning: <h5> anchor "Returns" already defined OTProblem_-class.html:361:1 (OTProblem_-class.Rd:211): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:376:1 (OTProblem_-class.Rd:224): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:413:1 (OTProblem_-class.Rd:251): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:423:1 (OTProblem_-class.Rd:259): Warning: <h5> anchor "Arguments" already defined OTProblem_-class.html:450:1 (OTProblem_-class.Rd:276): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:456:1 (OTProblem_-class.Rd:280): Warning: <h5> anchor "Returns" already defined OTProblem_-class.html:487:1 (OTProblem_-class.Rd:294): Warning: <h5> anchor "Usage" already defined OTProblem_-class.html:493:1 (OTProblem_-class.Rd:298): Warning: <h5> anchor "Arguments" already defined data_separate.dataHolder.html:51:1 (data_separate.dataHolder.Rd:12): Warning: missing </ul> before </div> oop_loss_select.html:47:1 (oop_loss_select.Rd:10): Warning: missing </ul> before </div> print.dataHolder.html:51:1 (print.dataHolder.Rd:12): Warning: missing </ul> before </div> Flavor: r-devel-linux-x86_64-debian-gcc

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 + } Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-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") Flavors: r-devel-windows-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: 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