Last updated on 2024-06-16 01:50:04 CEST.
Package | ERROR | OK |
---|---|---|
datadriftR | 10 | |
fdicdata | 2 | 11 |
Current CRAN status: OK: 10
Current CRAN status: ERROR: 2, OK: 11
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/153s]
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 3 | WARN 2 | SKIP 0 | PASS 41 ]
══ 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
── Error ('test-getInstitutionsAll.R:10:3'): getInstitutionsAll returns a data frame with expected class types ──
<notSubsettableError/error/condition>
Error in `dataInstitutions$CERT`: object of type 'closure' is not subsettable
Backtrace:
▆
1. └─testthat::expect_is(dataInstitutions$CERT, "integer") at test-getInstitutionsAll.R:10:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 3 | WARN 2 | SKIP 0 | PASS 41 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/102s]
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 6 | WARN 1 | SKIP 0 | PASS 42 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-getInstitution.R:4:3'): getInstitutionsAll returns a data frame with expected columns ──
is.data.frame(df) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-getInstitution.R:5:3'): getInstitutionsAll returns a data frame with expected columns ──
"CERT" %in% colnames(df) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-getInstitution.R:6:3'): getInstitutionsAll returns a data frame with expected columns ──
"NAME" %in% colnames(df) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-getInstitution.R:7:3'): getInstitutionsAll returns a data frame with expected columns ──
"CITY" %in% colnames(df) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-getInstitution.R:8:3'): getInstitutionsAll returns a data frame with expected columns ──
"STALP" %in% colnames(df) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-getInstitution.R:9:3'): getInstitutionsAll returns a data frame with expected columns ──
"ZIP" %in% colnames(df) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 6 | WARN 1 | SKIP 0 | PASS 42 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc