Running ‘testthat.R’ [233s/273s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [174s/287s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [276s/319s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [271s/312s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [232s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [225s/256s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [221s/257s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [245s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(PHEindicatormethods)
  > 
  > test_check("PHEindicatormethods")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testLifeExpectancy.R:315'): LE - warnings are generated when invalid arguments are used ──
  wideci_warning\[2\] does not match "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs".
  Actual value: "Each row in `x` is expected to match at most 1 row in `y`\.\\nℹ Row 1 of `x` matches multiple rows\.\\nℹ If multiple matches are expected, set `multiple = "all"` to silence this\\n  warning\."
  Backtrace:
      ▆
   1. └─testthat::expect_match(wideci_warning[2], "some life expectancy values have a 95% confidence interval > 20 years; these values have been suppressed to NAs") at testLifeExpectancy.R:315:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 452 ]
  Error: Test failures
  Execution halted
install log '' does not exist