MCPcopy Create free account
hub / github.com/apache/arrow / Close

Method Close

r/src/io.cpp:224–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223
224 arrow::Status Close() override {
225 if (closed_) {
226 return arrow::Status::OK();
227 }
228
229 closed_ = true;
230
231 return SafeCallIntoRVoid([&]() { cpp11::package("base")["close"](connection_sexp_); },
232 "close() on R connection");
233 }
234
235 arrow::Result<int64_t> Tell() const override {
236 if (closed()) {

Callers 2

io___InputStream__CloseFunction · 0.45
io___OutputStream__CloseFunction · 0.45

Calls 2

SafeCallIntoRVoidFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected