REditorSupport / REditorSupport/vscode-R

Install CRAN Package Not Working

Open
#1,645 0 comments 0 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

Describe the bug
The Install CRAN Package function under HELP PAGES does not work. When trying to install one package, multiple packages, or update installed packages, this error message will pop up: Variable workspaceFolder can not be resolved. Please open a folder.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'HELP PAGES'
  2. Click on 'Install CRAN Package'
  3. Try any packages
  4. See error

Can you fix this issue by yourself? (We appreciate the help)

No

Environment (please complete the following information):

  • OS: [Fedora Linux 42]
  • VSCode Version: [1.104.2]
  • R Version: [ 4.5.1]
  • vscode-R version: [2.8.6]

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 reproducing the error from HELP PAGES > Install CRAN Package using the listed Fedora, VS Code, R, and vscode-R versions. Trace where the workspaceFolder variable is required and verify that installing one or more packages and updating installed packages work without the “Please open a folder” error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.