Running ‘testthat.R’ [4s/8s]
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")
  List of 4
   $ Code     : chr "InternalError"
   $ Message  : chr "We encountered an internal error. Please try again."
   $ RequestId: chr "0997684209F6F9A6"
   $ HostId   : chr "MxmSG/ASlbw6V/J6/dW62SRfMO3PWRX0wTW2ypys6Nw9TUUlHED2e/f2ESexAmj1xfuzQJFztQo="
   - attr(*, "headers")=List of 7
    ..$ x-amz-request-id : chr "0997684209F6F9A6"
    ..$ x-amz-id-2       : chr "MxmSG/ASlbw6V/J6/dW62SRfMO3PWRX0wTW2ypys6Nw9TUUlHED2e/f2ESexAmj1xfuzQJFztQo="
    ..$ content-type     : chr "application/xml"
    ..$ transfer-encoding: chr "chunked"
    ..$ date             : chr "Sat, 15 Jul 2017 17:19:18 GMT"
    ..$ connection       : chr "close"
    ..$ server           : chr "AmazonS3"
    ..- attr(*, "class")= chr [1:2] "insensitive" "list"
   - attr(*, "class")= chr "aws_error"
  NULL
  1. Error: usage of get_bucket with query args (@test-public-bucket.R#17) -------
  Internal Server Error (HTTP 500).
  1: get_bucket(bucket = "1000genomes", key = "", secret = "", region = "us-east-1", max = 3) at testthat/test-public-bucket.R:17
  2: s3HTTP(verb = "GET", bucket = bucket, query = query, parse_response = parse_response, 
         ...)
  3: parse_aws_s3_response(r, Sig, verbose = verbose)
  4: stop_for_status(r)
  
  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 "8BDED4C02912B6B4"
   $ HostId        : chr "obcIXno+eSbeYX+3GugkWgdqEt1/xJWmj0TJspFtGt5INcGgnsMLqGp2iPuU8fBwDamk5MtkQdA="
   - attr(*, "headers")=List of 6
    ..$ x-amz-request-id : chr "8BDED4C02912B6B4"
    ..$ x-amz-id-2       : chr "obcIXno+eSbeYX+3GugkWgdqEt1/xJWmj0TJspFtGt5INcGgnsMLqGp2iPuU8fBwDamk5MtkQdA="
    ..$ content-type     : chr "application/xml"
    ..$ transfer-encoding: chr "chunked"
    ..$ date             : chr "Sat, 15 Jul 2017 17:19:17 GMT"
    ..$ server           : chr "AmazonS3"
    ..- attr(*, "class")= chr [1:2] "insensitive" "list"
   - attr(*, "class")= chr "aws_error"
   - attr(*, "request_canonical")= chr "GET\n/hpk/\nlocation=\nhost:s3.amazonaws.com\nx-amz-date:20170715T171918Z\n\nhost;x-amz-date\ne3b0c44298fc1c149"| __truncated__
   - attr(*, "request_string_to_sign")= chr "AWS4-HMAC-SHA256\n20170715T171918Z\n20170715/us-east-1/s3/aws4_request\n08574356f63cabf08e3c6b104bcde7e9cacd68d"| __truncated__
   - attr(*, "request_signature")= chr "AWS4-HMAC-SHA256 Credential=BAD KEY/20170715/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-date, Signatur"| __truncated__
  NULL
  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 "166EE55D0208E794"
   $ HostId        : chr "6jVNhwTRFeH5sFmg8eWk/wbA3BR+x/GSmOD8JcxVSXUgWO7mEoJl47lRSKvsbHA3w2iIHfw3gr0="
   - attr(*, "headers")=List of 6
    ..$ x-amz-request-id : chr "166EE55D0208E794"
    ..$ x-amz-id-2       : chr "6jVNhwTRFeH5sFmg8eWk/wbA3BR+x/GSmOD8JcxVSXUgWO7mEoJl47lRSKvsbHA3w2iIHfw3gr0="
    ..$ content-type     : chr "application/xml"
    ..$ transfer-encoding: chr "chunked"
    ..$ date             : chr "Sat, 15 Jul 2017 17:19:19 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:20170715T171919Z\n\nhost;x-amz-date\ne3b0c44298fc1c149afbf4c8996fb9"| __truncated__
   - attr(*, "request_string_to_sign")= chr "AWS4-HMAC-SHA256\n20170715T171919Z\n20170715/us-east-1/s3/aws4_request\nf1dd0b58a4f98d84890e843f92c3dd9442823f8"| __truncated__
   - attr(*, "request_signature")= chr "AWS4-HMAC-SHA256 Credential=BAD KEY/20170715/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-date, Signatur"| __truncated__
  NULL
  testthat results ================================================================
  OK: 10 SKIPPED: 0 FAILED: 1
  1. Error: usage of get_bucket with query args (@test-public-bucket.R#17) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In library(testthat) : package 'testthat' already present in search()
  2: In library(testthat) : package 'testthat' already present in search()
  3: In library(testthat) : package 'testthat' already present in search()
  4: In library(testthat) : package 'testthat' already present in search()
  Execution halted