| 316 | } |
| 317 | |
| 318 | arrow::Status SeekBase(int64_t pos) { |
| 319 | if (closed()) { |
| 320 | return arrow::Status::IOError("R connection is closed"); |
| 321 | } |
| 322 | |
| 323 | return SafeCallIntoRVoid( |
| 324 | [&]() { |
| 325 | cpp11::package("base")["seek"](connection_sexp_, cpp11::as_sexp<double>(pos)); |
| 326 | }, |
| 327 | "seek() on R connection"); |
| 328 | } |
| 329 | |
| 330 | private: |
| 331 | bool closed_; |
nothing calls this directly
no test coverage detected