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

rig rstudio fails if only minor version is in renv.lock #246

Open
kalenkovich opened this issue Sep 13, 2024 · 0 comments
Open

rig rstudio fails if only minor version is in renv.lock #246

kalenkovich opened this issue Sep 13, 2024 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@kalenkovich
Copy link

kalenkovich commented Sep 13, 2024

I have only the minor (no patch) R version set up in a project. rig rstudio seems to stumble when reading the version from renv.lock:

$ rig rstudio project.Rproj
[ERROR] Invalid R version in renv.lock file: "4.3", unexpected end of input while parsing minor version number

Here is what the corresponding part of renv.lock looks like:

{
  "R": {
    "Version": "4.3",
    "Repositories": [
      {
        "Name": "CRAN",
        "URL": "https://packagemanager.posit.co/cran/latest"
      }
    ]
  },
@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants