Running ‘testthat.R’ [8s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.0, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘bisg.Rmd’ using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘bisg.Rmd’

--- re-building ‘ei.Rmd’ using rmarkdown
--- finished re-building ‘ei.Rmd’

--- re-building ‘parallel_processing.Rmd’ using rmarkdown
--- finished re-building ‘parallel_processing.Rmd’

--- re-building ‘performance_analysis.Rmd’ using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘performance_analysis.Rmd’

SUMMARY: processing the following files failed:
  ‘bisg.Rmd’ ‘performance_analysis.Rmd’

Error: Vignette re-building failed.
Execution halted
Running ‘testthat.R’ [6s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.1, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘bisg.Rmd’ using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘bisg.Rmd’

--- re-building ‘ei.Rmd’ using rmarkdown
--- finished re-building ‘ei.Rmd’

--- re-building ‘parallel_processing.Rmd’ using rmarkdown
--- finished re-building ‘parallel_processing.Rmd’

--- re-building ‘performance_analysis.Rmd’ using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘performance_analysis.Rmd’

SUMMARY: processing the following files failed:
  ‘bisg.Rmd’ ‘performance_analysis.Rmd’

Error: Vignette re-building failed.
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.1, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘bisg.Rmd’ using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘bisg.Rmd’

--- re-building ‘ei.Rmd’ using rmarkdown
--- finished re-building ‘ei.Rmd’

--- re-building ‘parallel_processing.Rmd’ using rmarkdown
--- finished re-building ‘parallel_processing.Rmd’

--- re-building ‘performance_analysis.Rmd’ using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘performance_analysis.Rmd’

SUMMARY: processing the following files failed:
  ‘bisg.Rmd’ ‘performance_analysis.Rmd’

Error: Vignette re-building failed.
Execution halted
Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.1, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘bisg.Rmd’ using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘bisg.Rmd’

--- re-building ‘ei.Rmd’ using rmarkdown
--- finished re-building ‘ei.Rmd’

--- re-building ‘parallel_processing.Rmd’ using rmarkdown
--- finished re-building ‘parallel_processing.Rmd’

--- re-building ‘performance_analysis.Rmd’ using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘performance_analysis.Rmd’

SUMMARY: processing the following files failed:
  ‘bisg.Rmd’ ‘performance_analysis.Rmd’

Error: Vignette re-building failed.
Execution halted
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.0, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'bisg.Rmd' using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'bisg.Rmd'

--- re-building 'ei.Rmd' using rmarkdown
--- finished re-building 'ei.Rmd'

--- re-building 'parallel_processing.Rmd' using rmarkdown
--- finished re-building 'parallel_processing.Rmd'

--- re-building 'performance_analysis.Rmd' using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'performance_analysis.Rmd'

SUMMARY: processing the following files failed:
  'bisg.Rmd' 'performance_analysis.Rmd'

Error: Vignette re-building failed.
Execution halted
Running ‘testthat.R’ [8s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.0, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘bisg.Rmd’ using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘bisg.Rmd’

--- re-building ‘ei.Rmd’ using rmarkdown
--- finished re-building ‘ei.Rmd’

--- re-building ‘parallel_processing.Rmd’ using rmarkdown
--- finished re-building ‘parallel_processing.Rmd’

--- re-building ‘performance_analysis.Rmd’ using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘performance_analysis.Rmd’

SUMMARY: processing the following files failed:
  ‘bisg.Rmd’ ‘performance_analysis.Rmd’

Error: Vignette re-building failed.
Execution halted
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.1, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘bisg.Rmd’ using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘bisg.Rmd’

--- re-building ‘ei.Rmd’ using rmarkdown
--- finished re-building ‘ei.Rmd’

--- re-building ‘parallel_processing.Rmd’ using rmarkdown
--- finished re-building ‘parallel_processing.Rmd’

--- re-building ‘performance_analysis.Rmd’ using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘performance_analysis.Rmd’

SUMMARY: processing the following files failed:
  ‘bisg.Rmd’ ‘performance_analysis.Rmd’

Error: Vignette re-building failed.
Execution halted
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.1, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'bisg.Rmd' using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'bisg.Rmd'

--- re-building 'ei.Rmd' using rmarkdown
--- finished re-building 'ei.Rmd'

--- re-building 'parallel_processing.Rmd' using rmarkdown
--- finished re-building 'parallel_processing.Rmd'

--- re-building 'performance_analysis.Rmd' using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'performance_analysis.Rmd'

SUMMARY: processing the following files failed:
  'bisg.Rmd' 'performance_analysis.Rmd'

Error: Vignette re-building failed.
Execution halted
Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  
  Please cite as:
  
  Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K
  (2024). _wru: Who are You? Bayesian Prediction of Racial Category Using
  Surname, First Name, Middle Name, and Geolocation_. R package version
  3.0.0, <https://CRAN.R-project.org/package=wru>.
  
  Note that wru 2.0.0 uses 2020 census data by default.
  Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.
  
  > 
  > test_check("eiCompare")
  Error in wru::predict_race(voter.file = wru_voter_file, census.surname = use_surname,  : 
    unused argument (surname.year = surname_year)
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_wru_predict_race_wrapper.R:19:3'): WRU wrapper correctly calculates probabilities. ──
  Error in `if (grep("cannot open the connection", error_type$message)) {
      message("Failed to connect to the remote data sources. Check internet connection. Returning NULL")
      return()
  } else {
      stop()
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─eiCompare::wru_predict_race_wrapper(...) at test_wru_predict_race_wrapper.R:19:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'bisg.Rmd' using rmarkdown

Quitting from lines 127-149 [unnamed-chunk-13] (bisg.Rmd)
Error: processing vignette 'bisg.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'bisg.Rmd'

--- re-building 'ei.Rmd' using rmarkdown
--- finished re-building 'ei.Rmd'

--- re-building 'parallel_processing.Rmd' using rmarkdown
--- finished re-building 'parallel_processing.Rmd'

--- re-building 'performance_analysis.Rmd' using rmarkdown

Quitting from lines 166-191 [apply_bisg] (performance_analysis.Rmd)
Error: processing vignette 'performance_analysis.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'performance_analysis.Rmd'

SUMMARY: processing the following files failed:
  'bisg.Rmd' 'performance_analysis.Rmd'

Error: Vignette re-building failed.
Execution halted