vscDebugger icon indicating copy to clipboard operation
vscDebugger copied to clipboard

package 'vscDebugger' not installed because it is not built for UCRT

Open jiaohxiong opened this issue 3 years ago • 7 comments

Error in unpackPkgZip(pkgs[i], pkgnames[i], lib, libs_only, lock, quiet) : package 'vscDebugger' not installed because it is not built for UCRT Calls: install.packages -> .install.winbinary -> unpackPkgZip

jiaohxiong avatar Jul 13 '22 12:07 jiaohxiong

Any solution for this error? It's happening to me too in VS Code but I'm not sure to what is due.

aragornii avatar Jul 31 '22 15:07 aragornii

A workaround is to build it from source using R 4.2 on Windows. The error relates to the UCRT runtime that is used starting from version 4.2 to support native UTF-8 encoding for Windows. This is my binary build from simply cloning the repo and building the binary packages via RStudio: vscDebugger_0.4.7.zip I have not seen the error since. Or directly: install.packages('https://github.com/ManuelHentschel/vscDebugger/files/9231784/vscDebugger_0.4.7.zip', repos = NULL, type = "win.binary")

mvwestendorp avatar Aug 01 '22 07:08 mvwestendorp

Thanks @mvwestendorp, it worked perfectly.

aragornii avatar Aug 01 '22 10:08 aragornii

thanks you are the real hero

Ljtyxhc avatar Sep 07 '22 11:09 Ljtyxhc

@mvwestendorp you are so cool!!!😎

zhcxww avatar Oct 09 '22 08:10 zhcxww

does anyone know what command to run in github codespaces

filods avatar Feb 27 '23 22:02 filods

does anyone know what command to run in github codespaces

I don't think this issue is related to Linux on Codespaces as it only concerns Windows.

You should be able to use the debugger-configured container using the template below. https://github.com/rocker-org/devcontainer-templates/tree/main/src/r-ver

eitsupi avatar Feb 28 '23 09:02 eitsupi