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

Conflict between Fedora CRAN copr and r-languageserver #4

Open
py9mrg opened this issue Dec 24, 2023 · 2 comments
Open

Conflict between Fedora CRAN copr and r-languageserver #4

py9mrg opened this issue Dec 24, 2023 · 2 comments

Comments

@py9mrg
Copy link

py9mrg commented Dec 24, 2023

Hello,

Fedora has a helpful copr that contains binaries of CRAN packages. Unfortunately there seems to be a conflict between the functionality of the copr and the installation of r-languageserver. To use the Fedora copr you need to install a Fedora package called R-CoprManager. When this is installed (even if it is manually disabled with R) it prevents installation of r-languageserver.

The current workaround is to uninstall R-CoprManager, install r-language server, and then reinstall R-CoprManager. I placed an issue on the R-CoprManager repos but it seems the issue is related to the build process being used here. Specifically they advise to add the `--vanilla`` argument, as follows:

R --vanilla --slave -f src/install.r <lib_loc> <ref>

Is it possible for you to modify accordingly, please?

Thanks.

@dsdole
Copy link

dsdole commented Feb 5, 2024

I don't mean to pollute the issues but I was having an issue installing r-langaugeserver with mason.nvim on fedora 39. I followed the above comment and removed R-CoprManager and r-languageserver installed perfectly. Just saying that the above does work.

@FriederRodewald
Copy link

Just stumbled on your comment. Thank you so much for the workaround. I second that it works and that it would be nice if it was fixed in mason :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants