Skip to content

Commit

Permalink
MINOR: [R] Clean up a linting issue from apache#45261 (apache#45575)
Browse files Browse the repository at this point in the history
### Rationale for this change

Cleanup a minor formatting issue introduced in apache#45261

### What changes are included in this PR?

Remove two new lines

### Are these changes tested?

Yes operative changes, linter should pass

### Are there any user-facing changes?

No

Authored-by: Jonathan Keane <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
  • Loading branch information
jonkeane authored and kou committed Feb 25, 2025
1 parent 174db12 commit 9874d65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions r/src/safe-call-into-r-impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ bool SetEnableSignalStopSource(bool enabled) {
}

// [[arrow::export]]
bool CanRunWithCapturedR() {
return MainRThread::GetInstance().Executor() == nullptr;
}
bool CanRunWithCapturedR() { return MainRThread::GetInstance().Executor() == nullptr; }

// [[arrow::export]]
std::string TestSafeCallIntoR(cpp11::function r_fun_that_returns_a_string,
Expand Down

0 comments on commit 9874d65

Please sign in to comment.