Last updated on 2025-08-18 02:50:15 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
ArgentinAPI | 13 | ||
BrazilDataAPI | 2 | 11 | |
CardioDataSets | 13 | ||
ChileDataAPI | 13 | ||
ColombiAPI | 13 | ||
crimedatasets | 13 | ||
DataSetsVerse | 13 | ||
DigestiveDataSets | 13 | ||
educationR | 13 | ||
infectiousR | 13 | ||
MedDataSets | 13 | ||
MexicoDataAPI | 13 | ||
NeuroDataSets | 13 | ||
OncoDataSets | 13 | ||
PulmoDataSets | 13 | ||
sampledatasets | 13 | ||
timeSeriesDataSets | 13 | ||
usdatasets | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 2, OK: 11
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 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 6 | WARN 0 | SKIP 19 | PASS 96 ]
══ 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:24:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'carros' ──
`result` is not an S3 object
── Failure ('test-get_brazil_vehicle_brands.R:25:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'carros' ──
all(c("nome", "valor") %in% names(result)) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_brazil_vehicle_brands.R:36:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'caminhoes' ──
`result` is not an S3 object
── Failure ('test-get_brazil_vehicle_brands.R:37:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'caminhoes' ──
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 6 | WARN 0 | SKIP 19 | PASS 96 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
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
API request failed with status: 404
Datasets available in the 'BrazilDataAPI' package:
Datasets available in the 'BrazilDataAPI' package:
[ FAIL 2 | WARN 0 | SKIP 19 | PASS 100 ]
══ 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:24:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'carros' ──
`result` is not an S3 object
── Failure ('test-get_brazil_vehicle_brands.R:25:3'): get_brazil_vehicle_brands() returns a tibble with expected columns for 'carros' ──
all(c("nome", "valor") %in% names(result)) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 19 | PASS 100 ]
Error: Test failures
Execution halted
Flavor: r-release-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: 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: 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