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

Startup error with renv when project is out of sync. #1458

Open
adamaltmejd opened this issue Dec 6, 2023 · 1 comment
Open

Startup error with renv when project is out of sync. #1458

adamaltmejd opened this issue Dec 6, 2023 · 1 comment
Assignees
Labels

Comments

@adamaltmejd
Copy link

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.

@adamaltmejd adamaltmejd added the bug label Dec 6, 2023
@duccioa
Copy link

duccioa commented Jan 24, 2024

Pretty much at the same time I filed the issue for the same reason on the languageserver package repository /REditorSupport/languageserver/#645.

I found that you can disable renv status check with renv::config$synchronized.check(FALSE) or using RENV_CONFIG_SYNCHRONIZED_CHECK = FALSE in your .Renviron.

@ElianHugh ElianHugh self-assigned this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants