CRAN Package Check Results for Maintainer ‘Ugur Dar <ugurdarr at gmail.com>’

Last updated on 2024-06-16 11:58:30 CEST.

Package ERROR OK
datadriftR 10
fdicdata 1 12

Package datadriftR

Current CRAN status: OK: 10

Package fdicdata

Current CRAN status: ERROR: 1, OK: 12

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