Send to terminal doubles closing parentheses
See original GitHub issueSometimes when I send lines or blocks to the console via ctrl+enter without selecting the code, the ending parentheses will be doubled and stop the code from being run:
If the line/block of code is selected this never happens.
I have not managed to reproduce the bug reliably 😦
It happens often enough when executing expect_*() within test_that blocks that I assume it it has something todo with the enclosing brackets. It also only happens on the last statement in a block but does also happen when it is the only one:
test_that("assertInRange works", {
expect_silent(assertInRange(a = 1:5, range = c(0, 100)))
})
I have tried to reproduce the bug with similarly nested, more generic functions (also “non-function” with same arguments) but could not get the bug to show up.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Send to terminal doubles closing parentheses #419 - GitHub
Sometimes when I send lines or blocks to the console via ctrl+enter without selecting the code, the ending parentheses will be doubled and ......
Read more >Print the string between two parentheses - Unix StackExchange
This solution captures characters between parenthesis regardless of any characters that follow the closing parentheses and ignores lines that have no ...
Read more >Using Square Brackets in Bash: Part 2 - Linux.com
In the previous article, we looked at various ways square brackets are used at the command line, including globbing.
Read more >c# - How do I extract text that lies between parentheses (round ...
If you wish to stay away from regular expressions, the simplest way I can think of is: string input = "User name (sales)";...
Read more >How to run a script without closing the terminal? - Ask Ubuntu
You can exit the gnome-terminal window by closing the window or type exit at the bash prompt. Or you can type more commands...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I also had this problem so I turned off radian.auto.match, just add following code to the radian profile:
options(radian.auto_match = FALSE)But apparently this is only a temporary solution, waiting for someone to open an issue there.The issue resolves with
options(radian.auto_match = FALSE).However, yes the issue occurs under latest build of and
radian version: 0.5.11andikuyadeu.r 2.3.1, withr.bracketedPasteenabled.