CRAN Package Check Results for Package wru

Last updated on 2026-01-19 09:49:55 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.3 46.70 74.27 120.97 OK
r-devel-linux-x86_64-debian-gcc 3.0.3 31.08 54.18 85.26 OK
r-devel-linux-x86_64-fedora-clang 3.0.3 97.00 112.33 209.33 NOTE
r-devel-linux-x86_64-fedora-gcc 3.0.3 82.00 117.69 199.69 NOTE
r-devel-windows-x86_64 3.0.3 53.00 107.00 160.00 OK
r-patched-linux-x86_64 3.0.3 40.54 66.35 106.89 OK
r-release-linux-x86_64 3.0.3 44.83 65.45 110.28 OK
r-release-macos-arm64 3.0.3 OK
r-release-macos-x86_64 3.0.3 31.00 96.00 127.00 OK
r-release-windows-x86_64 3.0.3 57.00 130.00 187.00 ERROR
r-oldrel-macos-arm64 3.0.3 NOTE
r-oldrel-macos-x86_64 3.0.3 34.00 55.00 89.00 NOTE
r-oldrel-windows-x86_64 3.0.3 68.00 128.00 196.00 NOTE

Check Details

Version: 3.0.3
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘future’ ‘tidyr’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 3.0.3
Check: tests
Result: ERROR Running 'testthat.R' [35s] 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 (2024). _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.0.3, <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 2010 Predicting race for 2010 Proceeding with last name predictions... Request failed [504]. Retrying in 1.8 seconds... Request failed [504]. Retrying in 3.7 seconds... Saving _problems/test-predict_race_2010-188.R Predicting race for 2020 [ FAIL 1 | WARN 0 | SKIP 25 | PASS 10 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (19): '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"))`: unknown input format 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 25 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 3.0.3
Check: installed package size
Result: NOTE installed size is 7.1Mb sub-directories of 1Mb or more: data 3.7Mb help 1.9Mb libs 1.3Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.