Running ‘testthat.R’ [6s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rgeospatialquality)
  > 
  > test_check("rgeospatialquality")
  1. Error: Formating via 'source' works (@test_format_gq.R#18) ------------------
  Timeout was reached
  1: rgbif::occ_data(scientificName = "Apis mellifera", limit = 10, minimal = FALSE) at testthat/test_format_gq.R:18
  2: .get_occ_data()
  3: gbif_GET(url, args, TRUE, ...)
  4: GET(url, query = args, make_rgbif_ua(), ...)
  5: request_perform(req, hu$handle$handle)
  6: request_fetch(req$output, req$url, handle)
  7: request_fetch.write_memory(req$output, req$url, handle)
  8: curl::curl_fetch_memory(url, handle = handle)
  
  2. Failure: add_flags works properly guessing names for rvertnet dataset (@test_multiple_records.R#38) 
  "flags" %in% names(dv) isn't true.
  
  
  3. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#51) 
  resp$flags$hasScientificName isn't true.
  
  
  4. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#52) 
  resp$flags$validCountry isn't true.
  
  
  5. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#53) 
  resp$flags$negatedLongitude isn't true.
  
  
  6. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#54) 
  resp$flags$validCoordinates isn't true.
  
  
  7. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#55) 
  resp$flags$hasCountry isn't true.
  
  
  8. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#56) 
  resp$flags$hasCoordinates isn't true.
  
  
  9. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#57) 
  resp$flags$highPrecisionCoordinates isn't true.
  
  
  10. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#58) 
  resp$flags$nonZeroCoordinates isn't true.
  
  
  11. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#59) 
  resp$flags$negatedLatitude isn't false.
  
  
  12. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#60) 
  resp$flags$coordinatesInsideCountry isn't false.
  
  
  13. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#61) 
  resp$flags$transposedCoordinates isn't false.
  
  
  14. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#62) 
  resp$flags$coordinatesInsideRangeMap isn't false.
  
  
  15. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#63) 
  resp$flags$distanceToRangeMapInKm not equal to 7261.647.
  target is NULL, current is numeric
  
  
  16. Failure: parse_record works with a list object, called 'record' (@test_single_record.R#12) 
  resp$negatedLatitude isn't true.
  
  
  17. Failure: parse_record works with a list object, called 'record' (@test_single_record.R#13) 
  resp$coordinatesInsideCountry isn't false.
  
  
  18. Failure: parse_record works with a list object, called 'record' (@test_single_record.R#14) 
  resp$distanceToRangeMapInKm not equal to 5114.433.
  target is NULL, current is numeric
  
  
  19. Failure: parse_record works properly (@test_single_record.R#34) ------------
  resp$negatedLatitude isn't true.
  
  
  20. Failure: parse_record works properly (@test_single_record.R#35) ------------
  resp$coordinatesInsideCountry isn't false.
  
  
  21. Failure: parse_record works properly (@test_single_record.R#36) ------------
  resp$distanceToRangeMapInKm not equal to 5114.433.
  target is NULL, current is numeric
  
  
  22. Failure: add_flags plays well with rgbif (@test_synergies.R#9) -------------
  "flags" %in% names(dd) isn't true.
  
  
  23. Failure: add_flags plays well with rvertnet (@test_synergies.R#19) ---------
  "flags" %in% names(dd) isn't true.
  
  
  24. Failure: add_flags plays well with rinat (@test_synergies.R#34) ------------
  "flags" %in% names(dd) isn't true.
  
  
  testthat results ================================================================
  OK: 36 SKIPPED: 0 FAILED: 24
  1. Error: Formating via 'source' works (@test_format_gq.R#18) 
  2. Failure: add_flags works properly guessing names for rvertnet dataset (@test_multiple_records.R#38) 
  3. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#51) 
  4. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#52) 
  5. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#53) 
  6. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#54) 
  7. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#55) 
  8. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#56) 
  9. Failure: add_flags works properly with a 1-row data.frame (@test_multiple_records.R#57) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted