Running 'testthat.R' [49s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(causalOT)
  > 
  > test_check("causalOT")
  Saving _problems/test-SCM-28.R
  [ FAIL 1 | WARN 710 | SKIP 53 | PASS 120 ]
  
  ══ Skipped tests (53) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test-OTmethod.R:28:3', 'test-OTmethod.R:97:3',
    'test-OTmethod.R:195:3', 'test-OTmethod.R:246:3', 'test-OTmethod.R:295:3',
    'test-OTmethod.R:392:3', 'test-OTmethod.R:477:3', 'test-OTmethod.R:519:3',
    'test-OTmethod.R:566:3', 'test-PSIS.R:2:3', 'test-PSIS.R:34:3',
    'test-PSIS.R:66:3', 'test-costMethod.R:50:3', 'test-cotClass.R:2:3',
    'test-cotClass.R:64:3', 'test-cotClass.R:118:3', 'test-cotClass.R:188:3',
    'test-cotClass.R:219:3', 'test-cotClass.R:323:3', 'test-cotClass.R:366:3',
    'test-cotOOP.R:2:3', 'test-cotOOP.R:110:3', 'test-cotOOP.R:237:3',
    'test-cotOOP.R:361:3'
  • Torch is not installed (29): 'test-OTmethod.R:2:3', 'test-OTmethod.R:60:3',
    'test-OTmethod.R:161:3', 'test-OTmethod.R:347:3', 'test-OTmethod.R:440:3',
    'test-barycentric_projection.R:2:3', 'test-barycentric_projection.R:91:3',
    'test-barycentric_projection.R:181:3', 'test-calc_weight.R:2:3',
    'test-costMethod.R:6:3', 'test-costMethod.R:106:3',
    'test-cotProblem.R:112:3', 'test-cotProblem.R:135:3', 'test-dual_opts.R:2:3',
    'test-dual_opts.R:150:3', 'test-dual_opts.R:285:3',
    'test-estimate_effect.R:2:3', 'test-estimate_effect.R:76:3',
    'test-estimate_effect.R:134:3', 'test-estimate_effect.R:192:3',
    'test-estimate_effect.R:354:3', 'test-estimate_effect.R:505:3',
    'test-estimate_effect.R:668:3', 'test-estimate_effect.R:712:3',
    'test-estimate_effect.R:757:3', 'test-estimate_effect.R:801:3',
    'test-gridSearch.R:2:3', 'test-gridSearch.R:106:3', 'test-gridSearch.R:155:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-SCM.R:28:3'): SCM object forms ───────────────────────────────
  Expected `scm$.__enclos_env__$private$solver$GetParams()$polish` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 710 | SKIP 53 | PASS 120 ]
  Error:
  ! Test failures.
  Execution halted