REditorSupport / REditorSupport/vscode-R

Error Message When Installing languageserver

Open
#1,647 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
When installing the R package languageserver, this error message pops up:
R library paths: /home/LL/R/x86_64-redhat-linux-gnu-library/4.5
/usr/lib64/R/library
/usr/share/R/library
Error in loadNamespace("jsonlite") :
there is no package called ‘jsonlite’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted

To Reproduce
Steps to reproduce the behavior:

  1. Follow the prompt to install languageserver
  2. 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 languageserver installation from the VS Code prompt on Fedora Linux 42 with R 4.5.1 and vscode-R 2.8.6, then trace the installation flow that produces the jsonlite loadNamespace error. Done means the prompted installation completes without the missing-package error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.