Running ‘testthat.R’ [2s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(neonUtilities)
  > 
  > test_check("neonUtilities")
  ── 1. Error: Test that soil collection call returns data (@test_getDatatable.R#5
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: expect_gte(nrow(getDatatable(dpid = "DP1.10086.001", data_table_name = "sls_soilCoreCollection", 
         sample_location_list = c("CPER", "TALL"), sample_date_min = "2014-01-01", sample_date_max = "2014-04-01")), 
         1) at testthat/test_getDatatable.R:5
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(getDatatable(dpid = "DP1.10086.001", data_table_name = "sls_soilCoreCollection", 
         sample_location_list = c("CPER", "TALL"), sample_date_min = "2014-01-01", sample_date_max = "2014-04-01"))
  5: getDatatable(dpid = "DP1.10086.001", data_table_name = "sls_soilCoreCollection", 
         sample_location_list = c("CPER", "TALL"), sample_date_min = "2014-01-01", sample_date_max = "2014-04-01")
  6: httr::GET(paste0(url_prefix_products, dpid))
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: Test that bad soil collection call returns no data (@test_getDatata
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: expect_equal(nrow(getDatatable(dpid = "DP1.10086.001", data_table_name = "sls_soilCoreCollection", 
         sample_location_list = c("CPER", "TALL"), sample_date_min = "2010-01-01", sample_date_max = "2011-06-01")), 
         0) at testthat/test_getDatatable.R:12
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(getDatatable(dpid = "DP1.10086.001", data_table_name = "sls_soilCoreCollection", 
         sample_location_list = c("CPER", "TALL"), sample_date_min = "2010-01-01", sample_date_max = "2011-06-01"))
  5: getDatatable(dpid = "DP1.10086.001", data_table_name = "sls_soilCoreCollection", 
         sample_location_list = c("CPER", "TALL"), sample_date_min = "2010-01-01", sample_date_max = "2011-06-01")
  6: httr::GET(paste0(url_prefix_products, dpid))
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  Unpacking zip files
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |======================================================================| 100%
  Stacking table mga_soilGroupAbundances
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |======================================================================| 100%
  Finished: All of the data are stacked into 1 tables!
  Copied the first available NEON.Battelle_Applied_Genomics.mga_batchResults.csv to /stackedFiles
  Copied the first available NEON.Battelle_Applied_Genomics.mga_labSummary.csv to /stackedFiles
  Copied the first available variable definition file to /stackedFiles and renamed as variables.csv
  Copied the first available validation file to /stackedFiles and renamed as validation.csv
  Stacked mga_soilGroupAbundances which has 103 out of the expected 103 rows (100%).
  Stacking took 0.6153111 secs
  All unzipped monthly data folders have been removed.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 1 SKIPPED: 0 FAILED: 2
  1. Error: Test that soil collection call returns data (@test_getDatatable.R#5) 
  2. Error: Test that bad soil collection call returns no data (@test_getDatatable.R#12) 
  
  Error: testthat unit tests failed
  Execution halted