diff --git a/r/src/filesystem.cpp b/r/src/filesystem.cpp index 337cba37287e9..8f1d0cdaf1047 100644 --- a/r/src/filesystem.cpp +++ b/r/src/filesystem.cpp @@ -430,7 +430,7 @@ std::shared_ptr fs___GcsFileSystem__Make(bool anonymous, auto io_context = MainRThread::GetInstance().CancellableIOContext(); - return fs::GcsFileSystem::Make(gcs_opts, io_context); + return ValueOrStop(fs::GcsFileSystem::Make(gcs_opts, io_context)); } // [[gcs::export]]