Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

R fails to attach packages from folders whose paths contain special characters on macOS

Fechada
#1,675 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
macos, r, typescript, vscode

Direção de pesquisa

Comece rastreando o ponto de entrada .vsc.attach() na extensão vscode-R e reproduza a falha no macOS com um caminho de pacote contendo caracteres acentuados. Compare-o com os casos bem-sucedidos no shell e no Ubuntu; considera-se concluído quando os pacotes são anexados com sucesso a partir desses caminhos no shell R Interactive.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

bug needs information

Describe the bug
R fails to attach packages from folders whose paths contain special characters (é, è, à, ȩ, ...).

To Reproduce
On the following hardware:

OS: macOS 26.2
Host: Mac14,2
Kernel: 25.2.0
Shell: /bin/zsh
DE: Aqua
WM: Quartz Compositor
Terminal: Apple_Terminal
CPU: Apple M2
GPU: Apple M2

Create R Interactive shell using the button provided by vscode-R extension

Execute the below commands:

R version 4.5.2 (2025-10-31) -- "[Not] Part in a Rumble"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin25.0.0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> .vsc.attach()
> x <- c(1, 2, 3)
> y <- c(1, 4, 9)
> plot(x, y)

In a shell outside of VSCode, the above commands run successfully.
In the R Interactive shell on an Ubuntu 24.04.3, the above commands run successfully and the error cannot be reproduced.

Environment

  • OS: macOS
  • VSCodium Version: 1.108.10359
  • R Version: 4.5.2 (2025-10-31)
  • vscode-R version: 2.8.6
Linguagem predominante
TypeScript
Estrelas
1.2k
Forks
139
Merge médio
20h 32min
PRs com merge (30d)
25

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de REditorSupport/vscode-R

Todas as issues de REditorSupport/vscode-R

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.