posit-dev / posit-dev/positron

Lots of invalid roxygen syntax puts R interpreter in looping crash/restart

Open
#6,328 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

System details:

Positron and OS details:

Positron Version: 2025.02.0 (Universal) build 79
Code - OSS Version: 1.96.0
Commit: a268bc86f313a0e454069790b1cbaadebc74262b
Date: 2025-01-21T02:44:54.581Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.0.0

Interpreter details:

R 4.4.0

Describe the issue:

Positron was stuck in a continual restart loop that i could not exit:

Image

Steps to reproduce the issue:

I cannot reproduce the issue. The issue occurred after I copied a very large character vector to the clipboard using clipr::write_clip() and pasted it to a new file.

Expected or desired behavior:

No editor issues.

Were there any error messages in the UI, Output panel, or Developer Tools console?

positron.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached positron.log and the R interpreter/editor restart behavior described for R 4.4.0; no source file or test entry point is named. Investigate the large pasted character vector and invalid roxygen context, with completion indicated by Positron no longer entering an unexitable restart loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.