CRAN Package Check Results for Maintainer ‘OJ Watson <oj.watson at hotmail.co.uk>’

Last updated on 2025-06-04 15:50:04 CEST.

Package ERROR OK
rdhs 8 5

Package rdhs

Current CRAN status: ERROR: 8, OK: 5

Version: 0.8.1
Check: examples
Result: ERROR Running examples in ‘rdhs-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: parse_map > ### Title: Create dictionary from DHS .MAP codebook > ### Aliases: parse_map > > ### ** Examples > > mrdt_zip <- tempfile() > download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", + mrdt_zip, mode="wb") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Warning in download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", : cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip': HTTP status was '502 Bad Gateway' Error in download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", : cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 0.8.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • OS can't test different locale test (1): 'test_miscellaneous.R:66:7' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.8.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • OS can't test different locale test (1): 'test_miscellaneous.R:66:7' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.8.1
Check: examples
Result: ERROR Running examples in ‘rdhs-Ex.R’ failed The error most likely occurred in: > ### Name: parse_map > ### Title: Create dictionary from DHS .MAP codebook > ### Aliases: parse_map > > ### ** Examples > > mrdt_zip <- tempfile() > download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", + mrdt_zip, mode="wb") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Warning in download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", : cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip': HTTP status was '502 Bad Gateway' Error in download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", : cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' 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: 0.8.1
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/15s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • OS can't test different locale test (1): 'test_miscellaneous.R:66:7' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.8.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • OS can't test different locale test (1): 'test_miscellaneous.R:66:7' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.8.1
Check: tests
Result: ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 47 | PASS 15 ] ══ Skipped tests (47) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 47 | PASS 15 ] Error: Test failures Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.8.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • OS can't test different locale test (1): 'test_miscellaneous.R:66:7' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 48 | PASS 14 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.8.1
Check: tests
Result: ERROR Running 'testthat.R' [5s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rdhs) Thank you for using rdhs. If you are using rdhs regularly or for automated tasks, please register for your own API key by emailing api@dhsprogram.com. More info at <https://api.dhsprogram.com/#/introdevelop.html> > > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1) > test_check("rdhs") trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' [ FAIL 2 | WARN 2 | SKIP 47 | PASS 15 ] ══ Skipped tests (47) ══════════════════════════════════════════════════════════ • DHS has removed this file (possibly because of what it tested (1): 'test_downloads.R:130:3' • On CRAN (44): 'test_api_calls.R:4:3', 'test_api_endpoints.R:8:3', 'test_api_endpoints.R:116:3', 'test_api_endpoints.R:140:3', 'test_api_endpoints.R:179:3', 'test_api_endpoints.R:193:3', 'test_api_endpoints.R:211:3', 'test_api_endpoints.R:238:3', 'test_api_endpoints.R:252:3', 'test_api_endpoints.R:279:3', 'test_api_endpoints.R:301:3', 'test_api_endpoints.R:322:3', 'test_api_endpoints.R:336:3', 'test_authentication.R:4:3', 'test_authentication.R:23:3', 'test_authentication.R:49:3', 'test_client_set_up.R:4:3', 'test_client_set_up.R:29:3', 'test_downloads.R:4:3', 'test_downloads.R:141:3', 'test_downloads.R:151:3', 'test_downloads.R:166:3', 'test_downloads.R:188:3', 'test_downloads.R:211:3', 'test_downloads.R:226:3', 'test_extraction.R:4:3', 'test_extraction.R:108:3', 'test_extraction.R:125:3', 'test_extraction.R:200:3', 'test_miscellaneous.R:37:3', 'test_miscellaneous.R:95:3', 'test_miscellaneous.R:131:3', 'test_read_dhs_flat.R:68:3', 'test_spatial_boundaries.R:4:3', 'test_spatial_boundaries.R:47:3', 'test_ui.R:4:3', 'test_ui.R:37:3', 'test_ui.R:66:3', 'test_ui.R:96:3', 'test_ui.R:106:3', 'test_ui.R:117:3', 'test_ui.R:127:3', 'test_ui.R:145:3', 'test_ui.R:167:3' • empty test (1): 'test_api_endpoints.R:346:1' • geojson test too heavy an API test (1): 'test_api_endpoints.R:79:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_read_dhs_flat.R:6:3'): datasets parse ────────────────────────── Error in `download.file("https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip", destfile = mrfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:6:3 ── Error ('test_read_dhs_flat.R:48:3'): data dictionaries FWF lengths match file width ── Error in `download.file("https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip", arfl_zip, mode = "wb")`: cannot open URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_read_dhs_flat.R:48:3 [ FAIL 2 | WARN 2 | SKIP 47 | PASS 15 ] Error: Test failures Execution halted Flavor: 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.