Running ‘testthat.R’ [6s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(robis)
  > 
  > test_check("robis")
  ── 1. Error: area api returns records (@test_area.R#5)  ────────────────────────
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: area() at testthat/test_area.R:5
  2: simple_paged("area", verbose)
  3: http_request("POST", endpoint, query)
  4: POST(obis_url(), user_agent("robis - https://github.com/iobis/robis"), path = path, 
         body = query)
  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)
  
  <request>
  POST http://api.iobis.org/taxa
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * post: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Fields:
  * scientificname: Abra
  * offset: 0
  Status: 200
  Age: 0
  Time: 7.338239 
  
  Retrieved 25 records of 25 (100%)
  <request>
  POST http://api.iobis.org/taxa
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * post: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Fields:
  * year: 1802
  * offset: 0
  Status: 200
  Age: 0
  Time: 0.049284 
  
  Retrieved 49 records of 49 (100%)
  <request>
  POST http://api.iobis.org/taxa
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * post: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Fields:
  * year: 1803
  * offset: 0
  Status: 200
  Age: 0
  Time: 0.045943 
  
  Retrieved 29 records of 29 (100%)
  <request>
  POST http://api.iobis.org/taxa
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * post: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Fields:
  * year: 1802,1803
  * offset: 0
  Status: 200
  Age: 0
  Time: 0.04835 
  
  Retrieved 76 records of 76 (100%)
  
  Retrieved 85 records of 85 (100%)
  <request>
  POST http://api.iobis.org/taxa
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * post: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Fields:
  * groupid: 76
  * offset: 0
  Status: 200
  Age: 0
  Time: 0.162649 
  
  Retrieved 51 records of 51 (100%)
  
  Retrieved 31 records of 31 (100%)
  
  Retrieved 49 records of 49 (100%)
  
  Retrieved 2 records of 2 (100%)
  
  Retrieved 1 records of 1 (100%)
  
  Retrieved 1 records of 1 (100%)
  <request>
  GET http://api.iobis.org/resource/2500
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.013127 
  
  Retrieved 1 records of 21 (4%)<request>
  GET http://api.iobis.org/resource/2501
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.013034 
  
  Retrieved 2 records of 21 (9%)<request>
  GET http://api.iobis.org/resource/2502
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012855 
  
  Retrieved 3 records of 21 (14%)<request>
  GET http://api.iobis.org/resource/2503
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.013104 
  
  Retrieved 4 records of 21 (19%)<request>
  GET http://api.iobis.org/resource/2504
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012839 
  
  Retrieved 5 records of 21 (23%)<request>
  GET http://api.iobis.org/resource/2505
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012625 
  
  Retrieved 6 records of 21 (28%)<request>
  GET http://api.iobis.org/resource/2506
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012906 
  
  Retrieved 7 records of 21 (33%)<request>
  GET http://api.iobis.org/resource/2507
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012535 
  
  Retrieved 8 records of 21 (38%)<request>
  GET http://api.iobis.org/resource/2508
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012729 
  
  Retrieved 9 records of 21 (42%)<request>
  GET http://api.iobis.org/resource/2509
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012441 
  
  Retrieved 10 records of 21 (47%)<request>
  GET http://api.iobis.org/resource/2510
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012491 
  
  Retrieved 11 records of 21 (52%)<request>
  GET http://api.iobis.org/resource/2511
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012884 
  
  Retrieved 12 records of 21 (57%)<request>
  GET http://api.iobis.org/resource/2512
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.013229 
  
  Retrieved 13 records of 21 (61%)<request>
  GET http://api.iobis.org/resource/2513
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012711 
  
  Retrieved 14 records of 21 (66%)<request>
  GET http://api.iobis.org/resource/2514
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.01262 
  
  Retrieved 15 records of 21 (71%)<request>
  GET http://api.iobis.org/resource/2515
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012663 
  
  Retrieved 16 records of 21 (76%)<request>
  GET http://api.iobis.org/resource/2516
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.01281 
  
  Retrieved 17 records of 21 (80%)<request>
  GET http://api.iobis.org/resource/2517
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012699 
  
  Retrieved 18 records of 21 (85%)<request>
  GET http://api.iobis.org/resource/2518
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012578 
  
  Retrieved 19 records of 21 (90%)<request>
  GET http://api.iobis.org/resource/2519
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012448 
  
  Retrieved 20 records of 21 (95%)<request>
  GET http://api.iobis.org/resource/2520
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297051
  Time: 0.012673 
  
  Retrieved 21 records of 21 (100%)
  
  Retrieved 1 records of 1 (100%)
  
  Retrieved 1 records of 1 (100%)
  
  Retrieved 37 records of 37 (100%)
  <request>
  POST http://api.iobis.org/group
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * post: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Fields:
  * offset: 0
  Status: 200
  Age: 0
  Time: 0.031316 
  
  Retrieved 85 records of 85 (100%)
  
  Retrieved 29 records of 29 (100%)
  <request>
  GET http://api.iobis.org/occurrence?scientificname=Abra%20sibogai&skipid=-1
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297061
  Time: 0.013063 
  
  Retrieved 12 records of 12 (100%)
  Total time: 0.034 seconds
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 737 records of 737 (100%)
  
  Retrieved 16 records of 16 (100%)
  
  Retrieved 117 records of 117 (100%)
  
  Retrieved 121 records of 121 (100%)
  
  Retrieved 737 records of 737 (100%)
  
  Retrieved 575 records of 575 (100%)
  
  Retrieved 737 records of 737 (100%)
  
  Retrieved 51 records of 51 (100%)
  
  Retrieved 737 records of 737 (100%)
  
  
  Retrieved 378 records of 378 (100%)
  
  Retrieved 737 records of 737 (100%)
  
  Retrieved 85 records of 85 (100%)
  
  Retrieved 240 records of 240 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  Retrieved 12 records of 12 (100%)
  
  <request>
  GET http://api.iobis.org/taxon?obisid=453979
  Output: write_memory
  Options:
  * useragent: robis - https://github.com/iobis/robis
  * httpget: TRUE
  Headers:
  * Accept: application/json, text/xml, application/xml, */*
  Status: 200
  Age: 297048
  Time: 0.012301 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 114 SKIPPED: 1 FAILED: 1
  1. Error: area api returns records (@test_area.R#5) 
  
  Error: testthat unit tests failed
  Execution halted