Downloads an object from a MinIO bucket and returns its contents as a
raw vector. Before downloading, the function checks whether the
object exists using minio_object_exists. If the object does
not exist, an error is raised.
Details
This function is intended as a low-level building block for higher-level helpers (e.g., reading CSV/Parquet), centralizing validation and download logic.
Examples
if (FALSE) { # \dontrun{
x <- minio_get_object(
bucket = "assets",
object = "path/file.parquet"
)
length(x)
} # }
