Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’ [3s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running 'testthat.R' [1s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(howzatR)
  > 
  > test_check("howzatR")
  Saving _problems/test-batting_basics-7.R
  Saving _problems/test-batting_basics-22.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-batting_basics.R:7:3'): bat_avg works ──────────────────────────
  Error in `expect(bat_avg(runs_scored = 50, no_dismissals = 2), 25)`: `ok` must be `TRUE` or `FALSE`, not the number 25.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_avg(runs_scored = 50, no_dismissals = 2)) at test-batting_basics.R:7:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-batting_basics.R:22:3'): bat_sr works ──────────────────────────
  Error in `expect(bat_sr(runs_scored = 250, balls_faced = 200), 125)`: `ok` must be `TRUE` or `FALSE`, not the number 125.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = bat_sr(runs_scored = 250, balls_faced = 200)) at test-batting_basics.R:22:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted