R Under development (unstable) (2024-02-15 r85925 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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_. R package version 3.0.0, . 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... i All local files already up-to-date! Predicting race for 2010 Proceeding with last name predictions... i All local files already up-to-date! i All local files already up-to-date! Predicting race for 2010 Proceeding with last name predictions... i All local files already up-to-date! i All local files already up-to-date! Predicting race for 2020 [ FAIL 0 | WARN 0 | SKIP 23 | PASS 16 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • 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' • 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' [ FAIL 0 | WARN 0 | SKIP 23 | PASS 16 ] > > proc.time() user system elapsed 5.46 0.51 9.03