Running ‘testthat.R’ [2s/41s]
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")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================                                                   |  27%
    |                                                                            
    |======================================================================| 100%
  
  Downloading: 340 B     
  Downloading: 340 B     
  Downloading: 340 B     
  Downloading: 340 B     List of 5
   $ Code          : chr "InvalidAccessKeyId"
   $ Message       : chr "The AWS Access Key Id you provided does not exist in our records."
   $ AWSAccessKeyId: chr "BAD KEY"
   $ RequestId     : chr "TST7JCDZ42K00A9T"
   $ HostId        : chr "bj4/2h7lsClTi3srF9Q6pKCS58EqfxpzwkfIhvZJlvX/gsmehuOSc4ndx0ZNUyAu2fxEnGWNlgA="
   - attr(*, "headers")=List of 6
    ..$ x-amz-request-id : chr "TST7JCDZ42K00A9T"
    ..$ x-amz-id-2       : chr "bj4/2h7lsClTi3srF9Q6pKCS58EqfxpzwkfIhvZJlvX/gsmehuOSc4ndx0ZNUyAu2fxEnGWNlgA="
    ..$ content-type     : chr "application/xml"
    ..$ transfer-encoding: chr "chunked"
    ..$ date             : chr "Sat, 16 Sep 2023 13:45:32 GMT"
    ..$ server           : chr "AmazonS3"
    ..- attr(*, "class")= chr [1:2] "insensitive" "list"
   - attr(*, "class")= chr "aws_error"
   - attr(*, "request_canonical")= chr "GET\n/\n\nhost:s3.amazonaws.com\nx-amz-date:20230916T134532Z\n\nhost;x-amz-date\ne3b0c44298fc1c149afbf4c8996fb9"| __truncated__
   - attr(*, "request_string_to_sign")= chr "AWS4-HMAC-SHA256\n20230916T134532Z\n20230916/us-east-1/s3/aws4_request\n885709eae3c2687d210b75d78b52f76ff181927"| __truncated__
   - attr(*, "request_signature")= chr "AWS4-HMAC-SHA256 Credential=BAD KEY/20230916/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-date,Signature="| __truncated__
  NULL
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 3 ]
  
  ══ 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] SSL connection timeout
  Backtrace:
      ▆
   1. └─aws.s3::get_bucket(...) at test-public-bucket.R:4:4
   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] SSL connection timeout
  Backtrace:
      ▆
   1. └─aws.s3::get_bucket(...) at test-public-bucket.R:11:4
   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)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 3 ]
  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-patched-gcc/Work/build/Packages/aws.s3",
    "/tmp/RtmpTW9qRR/RLIBS_1e2956b566eba/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-patched-gcc/Work/build/Packages/aws.s3",
    "/tmp/RtmpTW9qRR/RLIBS_1e2956b566eba/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-patched-gcc/Work/build/Packages/aws.s3",
    "/tmp/RtmpTW9qRR/RLIBS_1e2956b566eba/aws.s3"
  6: 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-patched-gcc/Work/build/Packages/aws.s3",
    "/tmp/RtmpTW9qRR/RLIBS_1e2956b566eba/aws.s3"
  Execution halted