Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing required packages fails if the system library is not writable and the user has no library #1516

Open
andriygm opened this issue Apr 24, 2024 · 0 comments
Labels

Comments

@andriygm
Copy link

Describe the bug
If a user without any user-level R library gets a prompt asking if they want to install languageserver and they click yes, the process exits without bubbling up as a popup.

To Reproduce
Steps to reproduce the behavior:

  1. Launch folder in VScode containing R files on a system without languageserver/jsonlite installed, and no user library for the working user.
  2. Receive prompt to install languageserver
  3. Process exits because system library is not writable.

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

No

Expected behavior
I would expect VScode to either prompt me to create a new user library, it to be automatically created, or at least a popup describing what's wrong.

Environment (please complete the following information):

  • OS: Linux
  • VSCode Version: [1.88.1]
  • R Version: 4.3.3
  • vscode-R version: [e.g. 1.2.2]

Additional context
Add any other context about the problem here.

@andriygm andriygm added the bug label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant