You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under certain circumstances when used in targets, paws seems to use partial matches. Reprex using the CRAN releases:
library(paws.common)
library(paws.storage)
print(packageVersion("paws.common"))
#> [1] ‘0.7.7’
print(packageVersion("paws.storage"))
#> [1] ‘0.7.0’client<- s3()
bucket<-"test-paws-common-partial-matches8"response<-client$create_bucket(Bucket=bucket)
response<-client$put_object(
Bucket=bucket,
Key="x",
Body= charToRaw("abcde")
)
options(warnPartialMatchArgs=TRUE)
response<-client$head_object(
Bucket=bucket,
Key="x",
ExpectedBucketOwner="phantom_f4acd87c52d4e62b"
)
#> Error: SerializationError (HTTP 400). An error occurred when calling the HeadObject operation: Bad Request#> In addition: Warning messages:#> 1: In url$host : partial match of 'host' to 'hostname'#> 2: In url$host : partial match of 'host' to 'hostname'
The error is expected, but the warning are not. Traceback to the first occurrence of the warning:
I tried to test the development versions of paws.common and paws.storage as well, but the HEAD request is failing with "Error: SignatureDoesNotMatch (HTTP 403). The request signature we calculated does not match the signature you provided. Check your key and signing method" (c.f #868) when I would expect the call to succeed.
Under certain circumstances when used in
targets
,paws
seems to use partial matches. Reprex using the CRAN releases:The error is expected, but the warning are not. Traceback to the first occurrence of the warning:
I tried to test the development versions of
paws.common
andpaws.storage
as well, but the HEAD request is failing with "Error: SignatureDoesNotMatch (HTTP 403). The request signature we calculated does not match the signature you provided. Check your key and signing method" (c.f #868) when I would expect the call to succeed.Session info:
The text was updated successfully, but these errors were encountered: