REditorSupport / REditorSupport/vscode-R

Startup error with renv when project is out of sync.

Open
#1,458 1 comment 1 reaction 1 assignee View on GitHub

@ElianHugh is already working on this.

Since Feb 14, 2024.

bug
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

Languageserver errors when renv is out of sync.

[2023-12-06 10:47:10.203] workspace initialize error:  <callr_timeout_error/callr_error/rlib_error_3_0/rlib_error/error>
Error in `get_result(output = out, options)`:
! callr timed out
[2023-12-06 10:47:10.702] deliver:  ["Response", "Message", "R6"]
[Error - 10:47:10 AM] Client R Language Server: connection to server is erroring.
Header must provide a Content-Length property.
{"- the project is out-of-sync -- use `renv":":status()` for details.\nContent-Length: 871"}

Fixing the sync issues with eg. renv::snapshot() solves the error.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.