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 packages from source fails when enable LSP support #1547

Open
qianchd opened this issue Jul 31, 2024 · 0 comments
Open

Installing packages from source fails when enable LSP support #1547

qianchd opened this issue Jul 31, 2024 · 0 comments
Labels

Comments

@qianchd
Copy link

qianchd commented Jul 31, 2024

Describe the bug
When enable LSP support, multiple R-backend processes will exist. Then when I try to install some package from source, it will fail and print that the previous package can not be removed.

And in windows 11, when I kill these processes in the system manager, the installation will be succeed.

Also when I disable the LSP support in the setting, the installation also passes.

To Reproduce
I use the following task configuration in vscode.

{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "R",
			"code": [
				"devtools::install(upgrade=FALSE, quick=TRUE)"
			],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"problemMatcher": [],
			"label": "R: Quick Install",
			"presentation": {
				"reveal": "silent",
				"focus": true,
				"panel": "shared"
			}
		},
		{
			"type": "R",
			"code": [
				"devtools::install(upgrade=FALSE)"
			],
			"group": {
				"kind": "build"
			},
			"problemMatcher": [],
			"label": "R: Full Install",
			"presentation": {
				"reveal": "silent",
				"focus": true,
				"panel": "shared"
			}
		},
		{
			"type": "R",
			"code": [
				"devtools::build()"
			],
			"group": "build",
			"problemMatcher": [],
			"label": "R: Build"
		}
	]
}
@qianchd qianchd added the bug label Jul 31, 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