CRAN Package Check Results for Maintainer ‘Ari Decter-Frain <adecterfrain at gmail.com>’

Last updated on 2024-02-28 12:55:22 CET.

Package ERROR OK
eiCompare 9 3

Package eiCompare

Current CRAN status: ERROR: 9, OK: 3

Version: 3.0.4
Check: tests
Result: ERROR 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 Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 3.0.4
Check: re-building of vignette outputs
Result: ERROR 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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 3.0.4
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/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.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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.0.4
Check: tests
Result: ERROR 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.0.4
Check: re-building of vignette outputs
Result: ERROR 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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 3.0.4
Check: tests
Result: ERROR 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 3.0.4
Check: tests
Result: ERROR 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 Flavor: r-devel-windows-x86_64

Version: 3.0.4
Check: tests
Result: ERROR 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 Flavor: r-release-windows-x86_64

Version: 3.0.4
Check: tests
Result: ERROR 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.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 Flavor: r-oldrel-windows-x86_64