-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some multiline code in R console not working a #4901
Comments
There may be a little extra diagnostic info on OSX. Here is what I see with that test:
|
QA Note: we are skipping the automated test (see #4902 ) and it will need to be re-enabled after this is fixed. |
Skipping R console input test due to #4901
I think we had decided not to maintain any internal stacks of pending inputs in the case of nested prompts, in particular debug prompts, because doing so would be incompatible with the frontend-side expression splitting (#1326). Also we thought it'd be fine because this is the RStudio behaviour. But now that I think of it, since in the Jupyter protocol readline prompts are nested in execute-request prompts, the frontend-side splitting will not result in pending expressions being sent to readline prompts. So there's a fundamental distinction between browser and readline prompts and I agree the behaviour change highlighted here should be fixed. Worth noting that we have plans for browser prompts to become readline prompts in notebook-mode, because right now the behaviour is confusing (posit-dev/ark#572). I wonder if we should do the same for browser prompts in console mode to benefit from the same nested structure. |
Verified FixedPositron Version(s) : 2024.11.0-49 Test scenario(s)Input now works as expected. Link(s) to TestRail test cases run or created:R- User Input |
### Intent Turn cnosole input test again as #4901 has been fixed in `main` ### Approach Removed `skip`. Also note that these tests will now run as part of the PR jobs as requested by dev. ## QA Notes Tests pass in CI
Skipping R console input test due to #4901
Skipping R console input test due to #4901
### Intent Turn cnosole input test again as #4901 has been fixed in `main` ### Approach Removed `skip`. Also note that these tests will now run as part of the PR jobs as requested by dev. ## QA Notes Tests pass in CI
System details:
Windows, Ubuntu 22
Positron and OS details:
Dev build after ARK bumped to 0.1.143
Interpreter details:
R 4.4.1
Describe the issue:
Found in our automated ConsoleInput tests. This appears to be happening after the latest ARK version bump
Steps to reproduce the issue:
Results in
Expected or desired behavior:
Were there any error messages in the UI, Output panel, or Developer Tools console?
The text was updated successfully, but these errors were encountered: