Running 'testthat.R' [391s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(WeightIt)
  > 
  > test_check("WeightIt")
  Saving _problems/test-moments-26.R
  Saving _problems/test-moments-34.R
  Saving _problems/test-moments-90.R
  Saving _problems/test-moments-98.R
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-method_cbps.R:2:3', 'test-method_cbps.R:108:3',
    'test-method_cbps.R:197:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-moments.R:21:5'): moments works as expected, binary ──────────
  Expected `{ ... }` not to throw any conditions.
  Actually got a <simpleWarning> with message:
    ! The `polish` argument is deprecated.
    i Use `polishing` instead.
  ── Failure ('test-moments.R:30:5'): moments works as expected, binary ──────────
  Expected `{ ... }` not to throw any conditions.
  Actually got a <simpleWarning> with message:
    ! The `polish` argument is deprecated.
    i Use `polishing` instead.
  ── Failure ('test-moments.R:85:5'): moments works as expected, multi ───────────
  Expected `{ ... }` not to throw any conditions.
  Actually got a <simpleWarning> with message:
    ! The `polish` argument is deprecated.
    i Use `polishing` instead.
  ── Failure ('test-moments.R:94:5'): moments works as expected, multi ───────────
  Expected `{ ... }` not to throw any conditions.
  Actually got a <simpleWarning> with message:
    ! The `polish` argument is deprecated.
    i Use `polishing` instead.
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ]
  Error:
  ! Test failures.
  Execution halted