Running examples in ‘bdchecks-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Running examples in ‘bdchecks-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running ‘testthat.R’ [3s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Note: found 72 marked UTF-8 strings
Running examples in ‘bdchecks-Ex.R’ failed
The error most likely occurred in:

> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running ‘testthat.R’ [6s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Note: found 72 marked UTF-8 strings
Running examples in ‘bdchecks-Ex.R’ failed
The error most likely occurred in:

> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running ‘testthat.R’ [5s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Running examples in 'bdchecks-Ex.R' failed
The error most likely occurred in:

> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Running examples in ‘bdchecks-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Running examples in ‘bdchecks-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Running examples in 'bdchecks-Ex.R' failed
The error most likely occurred in:

> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted
Note: found 72 marked UTF-8 strings
Running examples in 'bdchecks-Ex.R' failed
The error most likely occurred in:

> ### Name: DC_countryMismatch
> ### Title: Data check countryMismatch Check if given country match given
> ###   country code.
> ### Aliases: DC_countryMismatch
> 
> ### ** Examples
> 
> performDC(DC = DC_countryMismatch, DATA = bdchecks::dataBats)
Loading required package: rgbif
Error in eval(parse(text = dependencies[j])) : 
  object 'isocodes' not found
Calls: performDC -> performDC -> assign -> eval -> eval
Execution halted
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bdchecks)
  > 
  > test_check("bdchecks")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_all.R:10:5'): summary_DC ──────────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(performDataCheck(dataBats)) at tests_all.R:10:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  ── Error ('tests_all.R:41:5'): performDataCheck ────────────────────────────────
  Error in `eval(parse(text = dependencies[j]))`: object 'isocodes' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(bdchecks::performDataCheck(dataBats)) at tests_all.R:41:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─bdchecks::performDataCheck(dataBats)
   7.   ├─bdchecks::performDC(DCcurrent, data)
   8.   └─bdchecks::performDC(DCcurrent, data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error: Test failures
  Execution halted