Running ‘testthat.R’ [1s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("aws.s3")
  > 
  > op <- options(verbose = TRUE)
  > 
  > if (Sys.getenv("TRAVIS_AWS_ACCESS_KEY_ID") != "") {
  +     #test_check("aws.s3", filter = "authenticated")
  + }
  > 
  > test_check("aws.s3", filter = "public")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-public-bucket.R:4:5'): basic usage of get_bucket for anonymous user ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [s3.amazonaws.com] Connection timeout after 10002 ms
  Backtrace:
      ▆
   1. └─aws.s3::get_bucket(...) at test-public-bucket.R:4:5
   2.   └─aws.s3::s3HTTP(...)
   3.     └─httr::GET(url, H, query = query, show_progress, ...)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-public-bucket.R:11:5'): usage of get_bucket with query args ────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [s3.amazonaws.com] Connection timeout after 10000 ms
  Backtrace:
      ▆
   1. └─aws.s3::get_bucket(...) at test-public-bucket.R:11:5
   2.   └─aws.s3::s3HTTP(...)
   3.     └─httr::GET(url, H, query = query, show_progress, ...)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-public-object.R:4:5'): basic usage of get_object for anonymous user ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [s3.amazonaws.com] Connection timeout after 10002 ms
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-public-object.R:4:5
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─aws.s3::get_object(...)
    5.   └─aws.s3::s3HTTP(...)
    6.     └─httr::GET(url, H, query = query, show_progress, ...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 2 ]
  Error: Test failures
  In addition: Warning messages:
  1: In find.package(package, lib.loc, quiet = TRUE) :
    package 'aws.s3' found more than once, using the first from
    "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/aws.s3",
    "/home/hornik/tmp/scratch/RtmpCudQl8/RLIBS_15da2933fbf264/aws.s3"
  2: In find.package(package, lib.loc, quiet = TRUE) :
    package 'aws.s3' found more than once, using the first from
    "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/aws.s3",
    "/home/hornik/tmp/scratch/RtmpCudQl8/RLIBS_15da2933fbf264/aws.s3"
  3: In library(testthat) : package 'testthat' already present in search()
  4: In library(test_package, character.only = TRUE) :
    package 'aws.s3' already present in search()
  5: In find.package(package, lib.loc, quiet = TRUE) :
    package 'aws.s3' found more than once, using the first from
    "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/aws.s3",
    "/home/hornik/tmp/scratch/RtmpCudQl8/RLIBS_15da2933fbf264/aws.s3"
  Execution halted