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
a suggested code or documentation change, improvement to the code, or feature request
This bug stems from the use of as.integer() when converting the content length to a numeric value. See related issues #264 and #332 as well as PR #273 which fixed the same issue in put_object(). I will be submitting my own PR with the same change.
Put your code here:
library(aws.s3)
r<- head_object(
object="myobject",
bucket="mybucket"
)
cl<- attr(r, "content-length")
as.integer(cl)
#> Warning: NAs introduced by coercion to integer range#> [1] NA
as.numeric(cl)
#> [1] 3343503279
Please specify whether your issue is about:
This bug stems from the use of
as.integer()
when converting the content length to a numeric value. See related issues #264 and #332 as well as PR #273 which fixed the same issue input_object()
. I will be submitting my own PR with the same change.Put your code here:
Created on 2020-09-14 by the reprex package (v0.3.0)
Session info
The text was updated successfully, but these errors were encountered: