vscode-R
vscode-R copied to clipboard
Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
trafficstars
When I install R packages in vscode radian,it always gets an error,for example,
r$> remotes::install_github("REditorSupport/languageserver")
Downloading GitHub repo REditorSupport/languageserver@HEAD
Error: Failed to install 'languageserver' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.
but when I run the same codes in iterm2 radian,it can install the package successfully.

Environment (please complete the following information):
- OS: [macOS M1]
- VSCode Version: [1.66.0]
- R Version: [4.1.3]
- vscode-R version: [2.4.0]
Additional context Add any other context about the problem here.