CRAN Package Check Results for Package BrazilDataAPI

Last updated on 2025-09-04 05:50:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 4.14 47.61 51.75 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 2.79 35.68 38.47 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 81.37 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 89.26 OK
r-devel-windows-x86_64 0.1.0 7.00 71.00 78.00 ERROR
r-patched-linux-x86_64 0.1.0 4.51 43.01 47.52 OK
r-release-linux-x86_64 0.1.0 3.97 42.99 46.96 OK
r-release-macos-arm64 0.1.0 40.00 OK
r-release-macos-x86_64 0.1.0 60.00 OK
r-release-windows-x86_64 0.1.0 6.00 67.00 73.00 OK
r-oldrel-macos-arm64 0.1.0 37.00 OK
r-oldrel-macos-x86_64 0.1.0 76.00 OK
r-oldrel-windows-x86_64 0.1.0 7.00 80.00 87.00 OK

Check Details

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

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.