r.libPaths setting for renv-enabled projects not working
Los mantenedores suelen responder en 1 día
@ElianHugh ya está trabajando en esto.
Desde el 14/2/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Describe the bug
The instructions given in the Wiki for installing languageserver in a separate minimal library and having vscode-R load it from there do not work for me. The r.libPaths setting seems to have no effect. I get the message
VSCode R Session Watcher requires jsonlite, rlang. Please install manually in order to use VSCode-R.
during R startup in projects using renv and can't send commands to R, use the help viewer, etc. When I use .libPaths() in the R session to point R to the standalone library manually, I can load languageserver and jsonlite without a problem.
To Reproduce
Follow the steps outlined in the Wiki, then create an R terminal in a renv-enabled project. The error message appears and help viewer etc. do not work.
Can you fix this issue by yourself? (We appreciate the help)
No
(If applicable) Please attach setting.json
{
"security.workspace.trust.untrustedFiles": "open",
"editor.largeFileOptimizations": false,
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.nonBasicASCII": false,
"r.plot.useHttpgd": true,
"editor.fontLigatures": true,
"editor.fontFamily": "'CaskaydiaCove Nerd Font', Menlo, Monaco, 'Courier New', monospace",
"files.autoSave": "afterDelay",
"r.rterm.option": [
"--restore",
"--save"
],
"typescript.suggest.paths": false,
"javascript.suggest.paths": false,
"workbench.startupEditor": "newUntitledFile",
"r.rterm.mac": "/opt/homebrew/bin/radian",
"editor.fontSize": 13,
"terminal.integrated.fontSize": 13,
"editor.minimap.enabled": false,
"terminal.integrated.defaultLocation": "editor",
"window.confirmBeforeClose": "keyboardOnly",
"terminal.integrated.confirmOnExit": "hasChildProcesses",
"editor.formatOnType": true,
"editor.tabSize": 2,
"editor.inlineSuggest.enabled": true,
"codeium.enableConfig": {
"*": true,
"rmd": true,
"plaintext": true
},
"diffEditor.ignoreTrimWhitespace": false,
"gitblame.statusBarMessageFormat": "${author.name} (${commit.summary, 30}, ${time.ago})",
"codeium.enableSearch": true,
"editor.acceptSuggestionOnEnter": "off",
"editor.accessibilitySupport": "off",
"latex-workshop.latex.autoBuild.run": "never",
"r.bracketedPaste": true,
"r.libPaths": [
"/Users/user/.R-pkgs-vscode/renv/library/R-4.3/aarch64-apple-darwin20"
]
}
(where /Users/user is my user folder)
Expected behavior
languageserver should be loaded from the library specified in the r.libPaths setting, help viewer etc. should work.
Environment (please complete the following information):
- OS: macOS 14.2.1
- VSCode Version: 1.85.2
- R Version: 4.3.2
- vscode-R version: 2.8.2
Additional context
Maybe additional settings have to be changed that are not mentioned in the Wiki? I read about "r.lsp.args": ["--vanilla"], which did not have any effect, and r.lsp.libPath, which does not seem to exist any more (and, unsurprisingly, also has no effect).
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.2k
- Forks
- 147
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 65
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de REditorSupport/vscode-R
-
[Bug]: `view` button sends explicit `.GlobalEnv` lookup to terminal instead of `View()` onlyAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
REditorSupport/vscode-R#1846 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
(feat) Additional Arrow supportPosiblemente ocupada @Fred-Wu la tomó hace 10 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
REditorSupport/vscode-R#1785 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
REditorSupport/vscode-R#1859 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
REditorSupport/vscode-R#1851 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
REditorSupport/vscode-R#1850 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de REditorSupport/vscode-R
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
cameri/nostream#811 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug p3 triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug javascript P2-medium python release:v3.1
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
adrirubio/claude-deck#546 ·
Los mantenedores suelen responder en 1 día
-
area: desktop area: website priority: P2 type: feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
appandflow/stim#3411 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
rjsf-team/react-jsonschema-form#5485 ·
Los mantenedores suelen responder en 2 días