Last updated on 2024-06-27 16:49:01 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 0.2 | 121.40 | 144.59 | 265.99 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.2 | 462.59 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2 | 294.55 | OK | |||
r-devel-windows-x86_64 | 0.2 | 112.00 | 210.00 | 322.00 | OK | |
r-patched-linux-x86_64 | 0.2 | 141.69 | 197.99 | 339.68 | OK | |
r-release-linux-x86_64 | 0.2 | 126.35 | 186.46 | 312.81 | OK | |
r-release-macos-arm64 | 0.2 | 219.00 | OK | |||
r-release-macos-x86_64 | 0.2 | 446.00 | OK | |||
r-release-windows-x86_64 | 0.2 | 111.00 | 231.00 | 342.00 | OK | |
r-oldrel-macos-arm64 | 0.2 | 249.00 | OK | |||
r-oldrel-macos-x86_64 | 0.2 | 364.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2 | 151.00 | 225.00 | 376.00 | OK |
Version: 0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [49s/98s]
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(BrazilCrime)
>
> test_check("BrazilCrime")
Download completed.
Query completed.
Download completed.
Query completed.
Download completed.
Query completed.
Error downloading file. Try again later.
Query completed.
[1] "Test data type"
Query completed.
[1] "Test state argument"
Query completed.
[1] "Test city argument"
[1] "Test city and state arguments"
Query completed.
[1] "Test category argument"
Query completed.
[1] "Test typology argument"
Query completed.
[1] "Test granularity argument"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_sinesp_data.R:18:3'): get_sinesp_data downloads and processes data correctly ──
Error in `UseMethod("filter")`: no applicable method for 'filter' applied to an object of class "function"
Backtrace:
▆
1. └─BrazilCrime::get_sinesp_data(year = 2020) at test-get_sinesp_data.R:18:3
2. └─dplyr::filter(df, ano %in% year)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc