Last updated on 2025-08-05 18:55:25 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.0 | 3.63 | 45.33 | 48.96 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.0 | 2.83 | 34.51 | 37.34 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.0 | 75.55 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 88.83 | OK | |||
r-devel-windows-x86_64 | 0.1.0 | 5.00 | 81.00 | 86.00 | OK | |
r-patched-linux-x86_64 | 0.1.0 | 4.19 | 41.85 | 46.04 | OK | |
r-release-linux-x86_64 | 0.1.0 | 3.84 | 41.84 | 45.68 | 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 | 5.00 | 70.00 | 75.00 | ERROR | |
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 | 76.00 | 83.00 | OK |
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