mason-org / mason-org/r-languageserver

Conflict between Fedora CRAN copr and r-languageserver

Open
#4 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/install.r and the build invocation shown in the issue. Check how the R command is assembled, then verify that it uses the requested --vanilla argument. Done means r-languageserver can be installed without first removing R-CoprManager.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.