-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Hello,
As per title, when I have R-CoprManager installed I cannot install r-languageserver in treesitter (using Neovim, but I guess it's the same for other editors).
In my case (here using LazyVim, but I also tried with the Quarto kickstarter) I get the following error:
Cloning into '.'...
From https://github.com/mason-org/r-languageserver
* tag v0.3.16 -> FETCH_HEAD
+ ./bin/install v0.3.16
Downloading GitHub repo jozefhajnala/languageserversetup@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘/tmp/Rtmp5NKZFW/remotes862952236f5d/jozefhajnala-languageserversetup-3daf44a/DESCRIPTION’ ... OK
* preparing ‘languageserversetup’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
* building ‘languageserversetup_0.1.2.900.tar.gz’
* installing *source* package ‘languageserversetup’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
finding HTML links ... converting help for package ‘languageserversetup’
done
languageserver_add_to_rprofile html
languageserver_detect html
languageserver_install html
languageserver_remove_from_rprofile html
languageserver_startup html
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (languageserversetup)
Keeping option: ‘langserver_library’ value: /home/XXX/.local/share/nvim/mason/staging/r-languageserver/build
Setting option: ‘langserver_processPatt’ to: languageserver::run
Keeping option: ‘langserver_quiet’ value: FALSE
Setting option: ‘langserver_quiet_serverproc’ to: FALSE
Setting option: ‘langserver_rprofile_candidates’ to: /home/XXX/.Rprofile
system_dep_available not found, determining
sysname is linux, pid is: 34345
get_docall_args: class(pid)=linux, pid=34345
setting get_docall_args: system2, list(command = "ps", args = c("-p", "34345", "-o", "command", "--no-headers"), stdout = FALSE)
<environment: namespace:languageserversetup>
system_dep_available determined: TRUE
langserver_install Starting
determined new .lib.loc: /home/XXX/.local/share/nvim/mason/staging/r-languageserver/build, /usr/share/R/library
assigning /home/XXX/.local/share/nvim/mason/staging/r-languageserver/build/usr/share/R/library to .lib.loc
running dev installation
installing remotes into: /home/XXXX/.local/share/nvim/mason/staging/r-languageserver/build
Error: dbus: Call failed: [Errno 6] No such device or address: '/proc/34345/fd/2'
langserver_install Exiting
Execution halted
spawn: bash failed with exit code 1 and signal 0.
Doing some searching, dbus issues seem to be related to bspm not being installed in R. If I manually do it and then add bspm::enable()
to .Rprofile it doesn't help so I'm at a bit of a loss?
My current solution is simply to uninstall R-CoprManager while installing r-languageserver in treesitter, and then reinstalling it. But I don't know if this "solution" will break something later.
Metadata
Metadata
Assignees
Labels
No labels