Last updated on 2025-09-04 09:51:18 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
ArgentinAPI | 13 | ||
BrazilDataAPI | 1 | 12 | |
CardioDataSets | 13 | ||
ChileDataAPI | 13 | ||
ChinAPIs | 13 | ||
ColombiAPI | 13 | ||
crimedatasets | 13 | ||
DataSetsVerse | 13 | ||
DigestiveDataSets | 13 | ||
educationR | 13 | ||
IndiAPIs | 13 | ||
infectiousR | 13 | ||
JapanAPIs | 1 | 12 | |
MedDataSets | 13 | ||
MexicoDataAPI | 13 | ||
NeuroDataSets | 13 | ||
OncoDataSets | 13 | ||
PulmoDataSets | 13 | ||
sampledatasets | 13 | ||
SouthKoreAPIs | 10 | ||
timeSeriesDataSets | 13 | ||
usdatasets | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # 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(BrazilDataAPI)
>
> test_check("BrazilDataAPI")
Error: Received status code 400
Error: Received status code 404
Error: status 400 - CNPJ not found or invalid.
Error: status 404 - CNPJ not found or invalid.
Error: Received status code 500
Error: Received status code 400
Error: Received status code 500
API request failed with status: 404
Datasets available in the 'BrazilDataAPI' package:
Datasets available in the 'BrazilDataAPI' package:
[ FAIL 4 | WARN 0 | SKIP 19 | PASS 98 ]
══ Skipped tests (19) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-get_brazil_banks.R:23:3', 'test-get_brazil_banks.R:42:3',
'test-get_brazil_cep.R:23:3', 'test-get_brazil_cep.R:51:3',
'test-get_brazil_cnpj.R:23:3', 'test-get_brazil_cnpj.R:57:3',
'test-get_brazil_municipalities.R:23:3',
'test-get_brazil_municipalities.R:44:3',
'test-get_brazil_municipalities.R:50:3', 'test-get_brazil_rate_name.R:24:3',
'test-get_brazil_rate_name.R:37:3', 'test-get_brazil_rate_name.R:50:3',
'test-get_brazil_rate_name.R:63:3', 'test-get_brazil_rate_name.R:71:3',
'test-get_brazil_rate_name.R:83:3', 'test-get_brazil_rates.R:23:3',
'test-get_brazil_rates.R:44:3', 'test-get_brazil_rates.R:55:3',
'test-get_brazil_rates.R:61:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_brazil_vehicle_brands.R:30:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'motos' ──
`result` is not an S3 object
── Failure ('test-get_brazil_vehicle_brands.R:31:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'motos' ──
all(c("nome", "valor") %in% names(result)) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_brazil_vehicle_brands.R:47:3'): get_brazil_vehicle_brands() handles empty string input and returns a tibble with error message ──
`result` is not an S3 object
── Failure ('test-get_brazil_vehicle_brands.R:48:3'): get_brazil_vehicle_brands() handles empty string input and returns a tibble with error message ──
all(c("message") %in% names(result)) || all(c("nome", "valor") %in%
names(result)) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 4 | WARN 0 | SKIP 19 | PASS 98 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [48s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # 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(JapanAPIs)
>
> test_check("JapanAPIs")
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Error: status 400
Datasets available in the 'JapanAPIs' package:
Datasets available in the 'JapanAPIs' package:
[ FAIL 20 | WARN 0 | SKIP 68 | PASS 476 ]
══ Skipped tests (68) ══════════════════════════════════════════════════════════
• On CRAN (68): 'test-get_country_info_jp.R:12:3',
'test-get_country_info_jp.R:42:3', 'test-get_country_info_jp.R:56:3',
'test-get_japan_child_mortality.R:12:3',
'test-get_japan_child_mortality.R:27:3',
'test-get_japan_child_mortality.R:33:3',
'test-get_japan_child_mortality.R:39:3',
'test-get_japan_child_mortality.R:45:3',
'test-get_japan_child_mortality.R:51:3',
'test-get_japan_child_mortality.R:57:3',
'test-get_japan_child_mortality.R:63:3',
'test-get_japan_child_mortality.R:70:3',
'test-get_japan_child_mortality.R:76:3',
'test-get_japan_child_mortality.R:82:3', 'test-get_japan_cpi.R:12:3',
'test-get_japan_cpi.R:27:3', 'test-get_japan_cpi.R:33:3',
'test-get_japan_cpi.R:39:3', 'test-get_japan_cpi.R:45:3',
'test-get_japan_cpi.R:51:3', 'test-get_japan_cpi.R:57:3',
'test-get_japan_cpi.R:63:3', 'test-get_japan_cpi.R:69:3',
'test-get_japan_cpi.R:75:3', 'test-get_japan_cpi.R:81:3',
'test-get_japan_energy_use.R:12:3', 'test-get_japan_energy_use.R:25:3',
'test-get_japan_energy_use.R:31:3', 'test-get_japan_energy_use.R:38:3',
'test-get_japan_energy_use.R:44:3', 'test-get_japan_energy_use.R:50:3',
'test-get_japan_energy_use.R:56:3', 'test-get_japan_energy_use.R:62:3',
'test-get_japan_energy_use.R:68:3', 'test-get_japan_energy_use.R:74:3',
'test-get_japan_energy_use.R:80:3', 'test-get_japan_gdp.R:12:3',
'test-get_japan_gdp.R:26:3', 'test-get_japan_gdp.R:32:3',
'test-get_japan_gdp.R:38:3', 'test-get_japan_gdp.R:44:3',
'test-get_japan_gdp.R:50:3', 'test-get_japan_gdp.R:56:3',
'test-get_japan_gdp.R:63:3', 'test-get_japan_gdp.R:69:3',
'test-get_japan_holidays.R:12:3', 'test-get_japan_holidays.R:32:3',
'test-get_japan_holidays.R:63:3', 'test-get_japan_hospital_beds.R:12:3',
'test-get_japan_hospital_beds.R:24:3', 'test-get_japan_hospital_beds.R:30:3',
'test-get_japan_hospital_beds.R:37:3', 'test-get_japan_hospital_beds.R:43:3',
'test-get_japan_hospital_beds.R:50:3', 'test-get_japan_hospital_beds.R:56:3',
'test-get_japan_hospital_beds.R:62:3', 'test-get_japan_hospital_beds.R:68:3',
'test-get_japan_life_expectancy.R:12:3',
'test-get_japan_life_expectancy.R:27:3',
'test-get_japan_life_expectancy.R:35:3',
'test-get_japan_life_expectancy.R:45:3',
'test-get_japan_life_expectancy.R:53:3',
'test-get_japan_life_expectancy.R:60:3',
'test-get_japan_literacy_rate.R:12:3', 'test-get_japan_literacy_rate.R:25:3',
'test-get_japan_literacy_rate.R:33:3', 'test-get_japan_literacy_rate.R:43:3',
'test-get_japan_literacy_rate.R:51:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_japan_population.R:15:3'): get_japan_population() returns a tibble with correct structure and types ──
`result` is not an S3 object
── Failure ('test-get_japan_population.R:19:3'): get_japan_population() returns a tibble with correct structure and types ──
Names of `result` ('') don't match 'indicator', 'country', 'year', 'value', 'value_label'
── Failure ('test-get_japan_population.R:22:3'): get_japan_population() returns a tibble with correct structure and types ──
result$indicator has type 'NULL', not 'character'.
── Failure ('test-get_japan_population.R:23:3'): get_japan_population() returns a tibble with correct structure and types ──
result$country has type 'NULL', not 'character'.
── Failure ('test-get_japan_population.R:24:3'): get_japan_population() returns a tibble with correct structure and types ──
result$year has type 'NULL', not 'integer'.
── Failure ('test-get_japan_population.R:25:3'): get_japan_population() returns a tibble with correct structure and types ──
result$value has type 'NULL', not 'integer'.
── Failure ('test-get_japan_population.R:26:3'): get_japan_population() returns a tibble with correct structure and types ──
result$value_label has type 'NULL', not 'character'.
── Failure ('test-get_japan_population.R:31:3'): get_japan_population() returns 13 rows for years 2010 to 2022 ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_japan_population.R:37:3'): get_japan_population(): country column contains only 'Japan' ──
length(unique(result$country)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_japan_population.R:43:3'): get_japan_population(): indicator column contains only one consistent label ──
length(unique(result$indicator)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_japan_population.R:70:3'): get_japan_population(): value_label column matches the formatted version of value ──
result$value_label (`actual`) not equal to `formatted_values` (`expected`).
`actual` is NULL
`expected` is a character vector ('NULL')
── Failure ('test-get_japan_unemployment.R:15:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
`result` is not an S3 object
── Failure ('test-get_japan_unemployment.R:19:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
Names of `result` ('') don't match 'indicator', 'country', 'year', 'value'
── Failure ('test-get_japan_unemployment.R:22:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
result$indicator has type 'NULL', not 'character'.
── Failure ('test-get_japan_unemployment.R:23:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
result$country has type 'NULL', not 'character'.
── Failure ('test-get_japan_unemployment.R:24:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
result$year has type 'NULL', not 'integer'.
── Failure ('test-get_japan_unemployment.R:25:3'): get_japan_unemployment() returns a tibble with correct structure and types ──
result$value has type 'NULL', not 'double'.
── Failure ('test-get_japan_unemployment.R:30:3'): get_japan_unemployment() returns 13 rows for years 2010 to 2022 ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_japan_unemployment.R:36:3'): get_japan_unemployment(): country column contains only 'Japan' ──
length(unique(result$country)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_japan_unemployment.R:42:3'): get_japan_unemployment(): indicator column is consistent across all rows ──
length(unique(result$indicator)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
[ FAIL 20 | WARN 0 | SKIP 68 | PASS 476 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 10
Current CRAN status: OK: 13
Current CRAN status: NOTE: 1, OK: 12
Version: 0.1.0
Check: installed package size
Result: NOTE
installed size is 5.6Mb
sub-directories of 1Mb or more:
R 2.6Mb
data 2.6Mb
Flavor: r-oldrel-macos-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.