Running ‘testthat.R’ [2s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rppo)
  > 
  > test_check("rppo")
  ── 1. Error: Check that no results returns status code = 204 (@test-all.R#6)  ──
  Timeout was reached: [www.plantphenology.org] Resolving timed out after 10010 milliseconds
  1: ppo_data(genus = "ImpossibleGenusName", fromYear = 1979, toYear = 2017, limit = 10, 
         bbox = "37,-120,38,-119") at testthat/test-all.R:6
  2: httr::GET(queryUrl)
  3: request_perform(req, hu$handle$handle)
  4: request_fetch(req$output, req$url, handle)
  5: request_fetch.write_memory(req$output, req$url, handle)
  6: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Failure: Check that PPO data is returned correctly from ppo_data function 
  response$data inherits from `NULL` not `data.frame`.
  
  ── 3. Failure: Check that PPO data is returned correctly from ppo_data function 
  response$readme inherits from `NULL` not `character`.
  
  ── 4. Failure: Check that PPO data is returned correctly from ppo_data function 
  response$citation inherits from `NULL` not `character`.
  
  ── 5. Failure: Check that PPO data is returned correctly from ppo_data function 
  nrow(response$data) == 10 isn't true.
  
  ── 6. Failure: Check that PPO data is returned correctly from ppo_data function 
  as.character(response$data$genus[1]) not identical to "Quercus".
  Lengths differ: 0 is not 1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 7 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: Check that no results returns status code = 204 (@test-all.R#6) 
  2. Failure: Check that PPO data is returned correctly from ppo_data function (@test-all.R#30) 
  3. Failure: Check that PPO data is returned correctly from ppo_data function (@test-all.R#31) 
  4. Failure: Check that PPO data is returned correctly from ppo_data function (@test-all.R#32) 
  5. Failure: Check that PPO data is returned correctly from ppo_data function (@test-all.R#35) 
  6. Failure: Check that PPO data is returned correctly from ppo_data function (@test-all.R#42) 
  
  Error: testthat unit tests failed
  Execution halted