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
Hi, I think a simple change here from as.integer to as.double should fix this bug.
I was calling object_size() on a large object, and it was returning NA because the file size was too large.
> object_exists(paste0(s3bucket,"/",s3key))
[1] TRUE
> object_size(paste0(s3bucket,"/",s3key))
[1] NA
Warning message:
In object_size(paste0(s3bucket, "/", s3key)) :
NAs introduced by coercion to integer range
> attr(head_object(paste0(s3bucket,"/",s3key)),"content-length")
[1] "17350435674"
> as.double("17350435674")
[1] 17350435674
> as.integer("17350435674")
[1] NA
Warning message:
NAs introduced by coercion to integer range
aws.s3/R/head_object.R
Line 66 in 621e0ad
Hi, I think a simple change here from
as.integer
toas.double
should fix this bug.I was calling
object_size()
on a large object, and it was returning NA because the file size was too large.This is related to #181 and #234 . Thank you!
The text was updated successfully, but these errors were encountered: