Last updated on 2024-06-03 09:57:10 CEST.
Package | ERROR | OK |
---|---|---|
fdicdata | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/97s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(fdicdata)
>
> test_check("fdicdata")
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 46 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-getInstitutionsAll.R:4:3'): getInstitutionsAll returns a data frame with expected columns ──
`dataInstitutions` inherits from `'function'` not `'character'`.
── Failure ('test-getInstitutionsAll.R:5:3'): getInstitutionsAll returns a data frame with expected columns ──
all(c("CERT", "NAME", "CITY", "STALP", "ZIP") %in% colnames(dataInstitutions)) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 1 | SKIP 0 | PASS 46 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc