Last updated on 2024-06-27 16:49:30 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
bndesr | 2 | 11 | |
BrazilCrime | 1 | 12 | |
dail | 13 | ||
ispdata | 9 | 4 |
Current CRAN status: NOTE: 2, OK: 11
Version: 1.0.3
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘curl’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: ERROR: 1, OK: 12
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
Current CRAN status: OK: 13
Current CRAN status: NOTE: 9, OK: 4
Version: 1.1.2
Check: installed package size
Result: NOTE
installed size is 5.3Mb
sub-directories of 1Mb or more:
data 5.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.1.2
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘curl’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.1.2
Check: data for non-ASCII characters
Result: NOTE
Note: found 87 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc