Last updated on 2026-09-19 03:00:17 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 3.1.0 | 43.36 | 79.33 | 122.69 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 3.1.0 | 31.38 | 62.00 | 93.38 | OK | |
| r-devel-linux-x86_64-fedora-clang | 3.1.0 | 37.00 | 56.82 | 93.82 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 3.1.0 | 37.00 | 54.73 | 91.73 | OK | |
| r-devel-windows-x86_64 | 3.1.0 | 55.00 | 187.00 | 242.00 | OK | |
| r-patched-linux-x86_64 | 3.1.0 | 44.03 | 72.30 | 116.33 | OK | |
| r-release-linux-x86_64 | 3.1.0 | 43.11 | 72.99 | 116.10 | OK | |
| r-release-macos-arm64 | 3.1.0 | 12.00 | 22.00 | 34.00 | OK | |
| r-release-macos-x86_64 | 3.1.0 | 33.00 | 94.00 | 127.00 | OK | |
| r-release-windows-x86_64 | 3.1.0 | 55.00 | 109.00 | 164.00 | OK | |
| r-oldrel-macos-arm64 | 3.1.0 | 12.00 | 23.00 | 35.00 | OK | |
| r-oldrel-macos-x86_64 | 3.1.0 | 33.00 | 77.00 | 110.00 | OK | |
| r-oldrel-windows-x86_64 | 3.1.0 | 72.00 | 139.00 | 211.00 | OK |
Version: 3.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(wru)
Please cite as:
Khanna K, Bertelsen B, Olivella S, Rosenman E, Rossell Hayes A, Imai K,
Dasanaike N (2026). _wru: Who are You? Bayesian Prediction of Racial
Category Using Surname, First Name, Middle Name, and Geolocation_.
doi:10.32614/CRAN.package.wru
<https://doi.org/10.32614/CRAN.package.wru>. R package version 3.1.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("wru")
Predicting race for 2020
Predicting race for 2010
Predicting race for 2010
Proceeding with last name predictions...
\ 24 items, page 1 | 7ms
Request failed [500]. Retrying in 1.8 seconds...
Request failed [500]. Retrying in 3.7 seconds...
Saving _problems/test-predict_race_2010-188.R
Predicting race for 2020
[ FAIL 1 | WARN 0 | SKIP 28 | PASS 18 ]
══ Skipped tests (28) ══════════════════════════════════════════════════════════
• On CRAN (22): 'test-ebisg-bug-repro.R:2:1', 'test-ebisg.R:32:3',
'test-ebisg.R:41:3', 'test-format_legacy_data.R:5:3',
'test-predict_race_2010.R:8:3', 'test-predict_race_2010.R:24:3',
'test-predict_race_2010.R:46:3', 'test-predict_race_2010.R:70:3',
'test-predict_race_2010.R:94:3', 'test-predict_race_2010.R:129:3',
'test-predict_race_2010.R:146:3', 'test-predict_race_2010.R:163:3',
'test-predict_race_2020.R:8:3', 'test-predict_race_2020.R:20:3',
'test-predict_race_2020.R:35:3', 'test-predict_race_2020.R:56:3',
'test-predict_race_2020.R:79:3', 'test-predict_race_2020.R:102:3',
'test-predict_race_2020.R:136:3', 'test-predict_race_2020.R:152:3',
'test-predict_race_2020.R:168:3', 'test-predict_race_2020.R:189:3'
• empty test (2): ,
• nzchar(Sys.getenv("CENSUS_API_KEY")) is not TRUE (4):
'test-census_geo_api.R:1:1', 'test-census_helper.R:8:1',
'test-census_helper_v2.R:8:1', 'test-race_prediction_funs.R:8:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-predict_race_2010.R:188:3'): Fixes for issue #68 work as expected ──
Error in `readRDS(paste0(path, "/wru-data-mid_c.rds"))`: error reading from connection '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/wru.Rcheck/tests/testthat/wru-data-mid_c.rds'
Backtrace:
▆
1. └─wru::predict_race(...) at test-predict_race_2010.R:188:3
2. └─wru:::predict_race_new(...)
3. └─base::readRDS(paste0(path, "/wru-data-mid_c.rds"))
[ FAIL 1 | WARN 0 | SKIP 28 | PASS 18 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang