CRAN Package Check Results for Package BrazilDataAPI

Last updated on 2025-09-15 21:49:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 4.14 48.89 53.03 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.79 47.16 50.95 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 116.66 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 122.72 OK
r-devel-windows-x86_64 0.1.0 5.00 72.00 77.00 OK
r-patched-linux-x86_64 0.1.0 4.45 43.23 47.68 ERROR
r-release-linux-x86_64 0.1.0 3.43 43.63 47.06 OK
r-release-macos-arm64 0.2.0 47.00 OK
r-release-macos-x86_64 0.2.0 134.00 OK
r-release-windows-x86_64 0.1.0 6.00 63.00 69.00 OK
r-oldrel-macos-arm64 0.2.0 63.00 OK
r-oldrel-macos-x86_64 0.2.0 154.00 OK
r-oldrel-windows-x86_64 0.1.0 7.00 90.00 97.00 ERROR

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/10s] 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-patched-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running 'testthat.R' [13s] 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-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.