Running ‘testthat.R’ [4s/206s]
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 9 | WARN 3 | SKIP 0 | PASS 35 ]
  
  ══ 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 
  ── 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:2
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 9 | WARN 3 | SKIP 0 | PASS 35 ]
  Error: Test failures
  Execution halted