REditorSupport / REditorSupport/vscode-R

Executable name is resolved as relative terminal path

Open
#1,437 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

The code in #1398 resolves paths too eagerly as "relative". In particular, a bare executable name such as radian is taken to be a relative path and looked up in the current working directory instead of in $PATH (this should only happen for ./radian).

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

Review the path-resolution code introduced by #1398 and reproduce the behavior with a bare executable name such as radian versus ./radian. Done means radian is resolved through $PATH, while ./radian is still looked up in the current working directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.