-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
area: kernelsIssues related to Jupyter kernels and LSP serversIssues related to Jupyter kernels and LSP serversbugSomething isn't workingSomething isn't workinglang: r
Milestone
Description
System details:
Positron and OS details:
Positron Version: 2025.08.0 build 11
Code - OSS Version: 1.100.0
Commit: 36d51df
Date: 2025-06-30T03:39:41.602Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Interpreter details:
R 4.5.0
Describe the issue:
If you have an R script with:
- a pipeline with line breaks
- followed by some incomplete code
Running the pipeline on top with CMD+Return doesn't run the entire pipeline.
pipe-followed-by-buggy-code.mov
Steps to reproduce the issue:
- Create an R script with the following, put cursor on Line 1, run Line 1 with CMD+Return, all good!
1 + 1
# buggy, incomplete code below
2 |>
sum(
- Create an R script with the following, put cursor on Line 1, run Line 1 with CMD+Return, also all good!
1 |> sum(1)
# buggy, incomplete code below
2 |>
sum(
- Create an R script with the following, put cursor on Line 2, try to run the entire pipeline with CMD+Return, entire pipeline is not sent to the Console. There is no error but clearly something is wrong.
1 |>
sum(1)
# buggy, incomplete code below
2 |>
sum(
- Create a slightly more realistic R script where the pipeline uses dplyr functions and try again, putting cursor on Line 2, try to run the entire pipeline with CMD+Return, entire pipeline is not sent to the Console, resulting in an error this time.
library(tidyverse)
mtcars |>
mutate(x = 1)
# buggy, incomplete code below
2 |>
sum(
Expected or desired behavior:
Regardless of broken/buggy code further down in the script, a "good" pipeline with line breaks should be sent to the Console entirely.
Were there any error messages in the UI, Output panel, or Developer Tools console?
No.
Metadata
Metadata
Assignees
Labels
area: kernelsIssues related to Jupyter kernels and LSP serversIssues related to Jupyter kernels and LSP serversbugSomething isn't workingSomething isn't workinglang: r