Running 'testthat.R' [3s/87s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GNRS)
  > 
  > 
  > test_check("GNRS")
  No matches found for the submitted state_id== Failed tests ================================================================
  -- Failure (test-gnrs_get_counties.R:34: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:36:3): default input returns data.frame ---
  safe_nrow(counties) is not strictly more than 1000. Difference: -1e+03
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 25 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [3s/114s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GNRS)
  > 
  > 
  > test_check("GNRS")
  No matches found for the submitted state_id══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-gnrs_get_counties.R:16:3): example works ────────────────────────
  Error: lexical error: invalid char in json text.
                                         ERROR: No data (element 'data' 
                       (right here) ------^
  
  Backtrace:
      █
   1. └─GNRS::GNRS_get_counties(...) test-gnrs_get_counties.R:16:2
   2.   └─jsonlite::fromJSON(results_json)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_string(txt, bigint_as_char)
  ── Failure (test-gnrs_get_counties.R:34: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:36:3): default input returns data.frame ───
  safe_nrow(counties) is not strictly more than 1000. Difference: -1e+03
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 23 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [3s/68s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GNRS)
  > 
  > 
  > test_check("GNRS")
  No matches found for the submitted state_id══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-gnrs_get_counties.R:34: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:36:3): default input returns data.frame ───
  safe_nrow(counties) is not strictly more than 1000. Difference: -1e+03
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 25 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [3s/108s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GNRS)
  > 
  > 
  > test_check("GNRS")
  No matches found for the submitted state_id══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-gnrs_get_counties.R:34: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:36:3): default input returns data.frame ───
  safe_nrow(counties) is not strictly more than 1000. Difference: -1e+03
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 25 ]
  Error: Test failures
  Execution halted