REditorSupport / REditorSupport/vscode-R
Lintr error on fresh install of VSCode and R
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
This is on a clean laptop at a new job. I've installed VSCode and R 4.4.3 (both as a user install) along with the REditorSupport extension. lintr fails with the following error:
Failed to run diagnostics: ! in callr subprocess.
Caused by error in `lintr::lint(path, cache = cache, text = content)`:
! Linter `linter()` failed in '':
Caused by error in `normalizePath()`:
! path[1]="": The system cannot find the path specified
All my packages were installed fresh from CRAN this week; in particular lintr is version 3.2.0. What could be causing this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with a fresh user install of VSCode, R 4.4.3, the REditorSupport extension, and lintr 3.2.0. Trace the diagnostics path around the reported callr subprocess and normalizePath() error; done means lint diagnostics run without this failure on the stated setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100