Running ‘testthat.R’ [8s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GNRS)
  > 
  > 
  > test_check("GNRS")
  [ FAIL 27 | WARN 0 | SKIP 3 | PASS 9 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-gnrs_error_handling.R:39:3',
    'test-gnrs_error_handling.R:77:3'
  • class(GNRS_dictionary) == "data.frame" is not TRUE (1):
    'test-gnrs_data_dictionary.R:16:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-gnrs.R:21:3'): example works ─────────────────────────────────
  class(results) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs.R:23:3'): example works ─────────────────────────────────
  safe_nrow(results) not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  ── Failure ('test-gnrs.R:34:3'): example works ─────────────────────────────────
  class(results) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs.R:36:3'): example works ─────────────────────────────────
  safe_nrow(results) not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  ── Failure ('test-gnrs_data_dictionary.R:12:3'): example works ─────────────────
  class(GNRS_dictionary) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_get_counties.R:26:3'): example works ────────────────────
  class(us_counties) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_get_counties.R:28:3'): example works ────────────────────
  safe_nrow(us_counties) is not strictly more than 100. Difference: -100
  ── Failure ('test-gnrs_get_counties.R:41:3'): default input returns data.frame ──
  class(counties) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_get_counties.R:43:3'): default input returns data.frame ──
  safe_nrow(counties) is not strictly more than 1000. Difference: -1e+03
  ── Failure ('test-gnrs_get_countries.R:21:3'): example works ───────────────────
  class(countries) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_get_countries.R:23:3'): example works ───────────────────
  safe_nrow(countries) is not strictly more than 100. Difference: -100
  ── Failure ('test-gnrs_get_states.R:20:3'): example works ──────────────────────
  class(states) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_get_states.R:22:3'): example works ──────────────────────
  safe_nrow(states) is not strictly more than 100. Difference: -100
  ── Failure ('test-gnrs_get_states.R:38:3'): inputing specific countries works ──
  class(states) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_get_states.R:40:3'): inputing specific countries works ──
  safe_nrow(states) is not strictly more than 10. Difference: -10
  ── Failure ('test-gnrs_metadata.R:13:3'): example works ────────────────────────
  class(all_metadata) not equal to "list".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "list"
  ── Failure ('test-gnrs_metadata.R:15:3'): example works ────────────────────────
  length(all_metadata) not equal to 4.
  1/1 mismatches
  [1] 0 - 4 == -4
  ── Failure ('test-gnrs_super_simple.R:12:3'): example works ────────────────────
  class(results) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_super_simple.R:14:3'): example works ────────────────────
  nrow(results) not equal to 1.
  target is NULL, current is numeric
  ── Failure ('test-gnrs_super_simple.R:23:3'): example works ────────────────────
  class(results) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_super_simple.R:25:3'): example works ────────────────────
  nrow(results) not equal to 1.
  target is NULL, current is numeric
  ── Failure ('test-gnrs_super_simple.R:43:3'): bad input returns no match ───────
  nonsense_query$match_status not equal to "no match".
  target is NULL, current is character
  ── Failure ('test-gnrs_super_simple.R:61:3'): Good input returns a match ───────
  sensible_query$match_status not equal to "full match".
  target is NULL, current is character
  ── Failure ('test-gnrs_template.R:18:3'): example works ────────────────────────
  class(results) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_template.R:19:3'): example works ────────────────────────
  nrow(results) not equal to 2.
  target is NULL, current is numeric
  ── Failure ('test-gnrs_version.R:12:3'): example works ─────────────────────────
  class(GNRS_version_metadata) not equal to "data.frame".
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-gnrs_version.R:14:3'): example works ─────────────────────────
  nrow(GNRS_version_metadata) not equal to 1.
  target is NULL, current is numeric
  
  [ FAIL 27 | WARN 0 | SKIP 3 | PASS 9 ]
  Error: Test failures
  Execution halted