randy3k / radian

A 21 century R console
MIT License
2.03k stars 76 forks source link

error in vscode radian when install packages #352

Open zdlspace0528 opened 2 years ago

zdlspace0528 commented 2 years ago

Dear all,

when I install any package in vscode radian.It always get error,

r$> install.packages("psych") sh: tar: No such file or directory Error: file ‘/var/folders/zv/0y0mw0nj55s1b_75ndvpgcfc0000gn/T//RtmpUlbB1u/downloaded_packages/psych_2.2.3.tgz’ is not a macOS binary package In addition: Warning messages: 1: In system(paste0("tar zxf \"", path.expand(what), "\" -C \"", path.expand(where), : error in running command 2: 'tar' returned non-zero exit code 127

截屏2022-04-03 11 17 22

if I install package in iterm2,It works well.

zdlspace0528 commented 2 years ago

I install the same package in iterm2 radian,it works well,

zhangdeliang on  master [?] took 1h 22m 57s ✦ ➜ radian R version 4.1.3 (2022-03-10) -- "One Push-Up" Platform: aarch64-apple-darwin20 (64-bit)

r$> install.packages("psych") --- 在此連線階段时请选用CRAN的鏡子 --- Secure CRAN mirrors

1: 0-Cloud [https] 2: Australia (Canberra) [https] 3: Australia (Melbourne 1) [https] 4: Australia (Melbourne 2) [https] 5: Australia (Perth) [https] 6: Austria [https] 7: Belgium (Brussels) [https] 8: Brazil (PR) [https] 9: Brazil (RJ) [https] 10: Brazil (SP 1) [https] 11: Brazil (SP 2) [https] 12: Bulgaria [https] 13: Canada (MB) [https] 14: Canada (ON 2) [https] 15: Canada (ON 3) [https] 16: Chile (Santiago) [https] 17: China (Beijing 2) [https] 18: China (Beijing 3) [https] 19: China (Hefei) [https] 20: China (Hong Kong) [https] 21: China (Guangzhou) [https] 22: China (Lanzhou) [https] 23: China (Nanjing) [https] 24: China (Shanghai 2) [https] 25: China (Shenzhen) [https] 26: Colombia (Cali) [https] 27: Costa Rica [https] 28: Cyprus [https] 29: Czech Republic [https] 30: Denmark [https] 31: East Asia [https] 32: Ecuador (Cuenca) [https] 33: Ecuador (Quito) [https] 34: Estonia [https] 35: France (Lyon 1) [https] 36: France (Lyon 2) [https] 37: France (Marseille) [https] 38: France (Paris 1) [https] 39: Germany (Erlangen) [https] 40: Germany (Leipzig) [https] 41: Germany (Göttingen) [https] 42: Germany (Münster) [https] 43: Germany (Regensburg) [https] 44: Greece [https] 45: Hungary [https] 46: Iceland [https] 47: Indonesia (Jakarta) [https] 48: Iran (Mashhad) [https] 49: Italy (Milano) [https] 50: Italy (Padua) [https] 51: Japan (Tokyo) [https] 52: Korea (Gyeongsan-si) [https] 53: Korea (Seoul 1) [https] 54: Korea (Ulsan) [https] 55: Malaysia [https] 56: Mexico (Mexico City) [https] 57: Morocco [https] 58: Netherlands [https] 59: New Zealand [https] 60: Norway [https] 61: Russia (Moscow) [https] 62: South Africa (Johannesburg) [https] 63: Spain (A Coruña) [https] 64: Spain (Madrid) [https] 65: Sweden (Borås) [https] 66: Sweden (Umeå) [https] 67: Switzerland [https] 68: Taiwan (Taipei) [https] 69: Turkey (Denizli) [https] 70: Turkey (Istanbul) [https] 71: Turkey (Mersin) [https] 72: UK (Bristol) [https] 73: UK (London 1) [https] 74: USA (IA) [https] 75: USA (KS) [https] 76: USA (MI) [https] 77: USA (OH) [https] 78: USA (OR) [https] 79: USA (TN) [https] 80: USA (TX 1) [https] 81: Uruguay [https] 82: (other mirrors)

Selection: 17 试开URL’https://mirrors.bfsu.edu.cn/CRAN/bin/macosx/big-sur-arm64/contrib/4.1/psych_2.2.3.tgz' Content type 'application/octet-stream' length 4150753 bytes (4.0 MB)

downloaded 4.0 MB

The downloaded binary packages are in /var/folders/zv/0y0mw0nj55s1b_75ndvpgcfc0000gn/T//RtmpwjyLy6/downloaded_packages

randy3k commented 2 years ago

It seems to be an issue of VSCode-R. Please report there.