R Under development (unstable) (2026-04-26 r89963 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ihsMW) ihsMW: No API key found. Run ihs_auth() to enable data downloads. > > test_check("ihsMW") v API key saved to ~/.Renviron You won't need to run `ihs_auth()` again. -- Setting up your World Bank Microdata API key -------------------------------- 1. Go to 2. Click "Login / Register" and create a free account 3. Once logged in, click your name → Profile 4. Scroll to "API Keys" and click "Generate API Key" 5. Copy the key and run: `ihs_auth("paste_your_key_here")` v API key saved to ~/.Renviron You won't need to run `ihs_auth()` again. v API key saved to ~/.Renviron You won't need to run `ihs_auth()` again. # A tibble: 2 x 5 round module format size_mb cached_at 1 IHS5 consumption rds 0 2026-04-27 10:56:05 2 IHS5 hh_mod_a rds 0 2026-04-27 10:56:05 -- Module: hh_mod_a_filt.dta (9 variables) -- [ FAIL 0 | WARN 0 | SKIP 0 | PASS 162 ] > > proc.time() user system elapsed 6.12 0.84 6.87