vscode-R
vscode-R copied to clipboard
Installing required packages fails if the system library is not writable and the user has no library
trafficstars
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:
- Launch folder in VScode containing R files on a system without languageserver/jsonlite installed, and no user library for the working user.
- Receive prompt to install languageserver
- 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.