r.libPaths setting for renv-enabled projects not working
Mantenedores costumam responder em até 1 dia
@ElianHugh já está trabalhando nisso.
Desde 14/2/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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).
- Linguagem predominante
- TypeScript
- Estrelas
- 1.2k
- Forks
- 151
- Merge médio
- 22h 1min
- PRs com merge (30d)
- 76
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de REditorSupport/vscode-R
-
[Bug]: indentation clash (formatter vs lintr)Talvez já em andamento @renkun-ken assumiu há 7 dias. Abertabug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
REditorSupport/vscode-R#1883 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
REditorSupport/vscode-R#1846 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
(feat) Additional Arrow supportTalvez já em andamento @Fred-Wu assumiu há 12 dias. Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
REditorSupport/vscode-R#1785 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Explore a standalone, dependency-free R package for the Data Viewer backendTalvez já em andamento @eitsupi assumiu há 14 dias. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
REditorSupport/vscode-R#1860 · 14 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
REditorSupport/vscode-R#1859 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de REditorSupport/vscode-R
Issues semelhantes
-
backend refactor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
NIAEFEUP/tts#927 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
callstackincubator/react-native-harness#296 ·
Mantenedores costumam responder em até 1 dia
-
status:in-linear
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
n8n-io/n8n#42293 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
verified
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
Mantenedores costumam responder em até 5 dias
-
Add inputmode attribute support (forwarded to the inner input)Talvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Neovici/cosmoz-input#467 ·
Mantenedores costumam responder em até 1 dia