-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Installation Error #392
Comments
Hi phoman14, this is the first time I see the error you encountered. I searched and even asked ChatGPT about it, this is what it said to me: The error message you're encountering indicates an issue with the build tools necessary to compile R packages from source, particularly those involving C/C++ code. This is a common issue on macOS, where the necessary compilers and command-line tools might not be properly set up or compatible with your R installation. Here are some steps to diagnose and potentially resolve the problem:
Looks legit, I too have some issues with compiling libraries on mac from time to time. Could you try it and get back to me please? |
🐛 Bug
I am having trouble installing immunarch using both
devtools::install_github("immunomind/immunarch")
and
devtools::install_github("immunomind/immunarch", ref="dev")
But I keep getting the same error
Any advice or insight would be appreciated
> devtools::install_github("immunomind/immunarch") Registered S3 methods overwritten by 'htmltools': method from print.html tools:rstudio print.shiny.tag tools:rstudio print.shiny.tag.list tools:rstudio Registered S3 method overwritten by 'htmlwidgets': method from print.htmlwidget tools:rstudio Downloading GitHub repo immunomind/immunarch@HEAD Error: Failed to install 'unknown package' from GitHub: Could not find tools necessary to compile a package Call
pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.Additional context
R version 4.3.2 (2023-10-31)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.2.1
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/New_York
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] devtools_2.4.5 usethis_2.2.2
loaded via a namespace (and not attached):
[1] miniUI_0.1.1.1 compiler_4.3.2 promises_1.2.1 Rcpp_1.0.12 stringr_1.5.1 callr_3.7.3
[7] later_1.3.2 fastmap_1.1.1 mime_0.12 R6_2.5.1 curl_5.2.0 knitr_1.45
[13] htmlwidgets_1.6.4 desc_1.4.3 profvis_0.3.8 shiny_1.8.0 rlang_1.1.3 cachem_1.0.8
[19] stringi_1.8.3 httpuv_1.6.13 xfun_0.41 fs_1.6.3 pkgload_1.3.4 memoise_2.0.1
[25] cli_3.6.2 magrittr_2.0.3 ps_1.7.6 processx_3.8.3 digest_0.6.34 rstudioapi_0.15.0
[31] xtable_1.8-4 remotes_2.4.2.1 lifecycle_1.0.4 vctrs_0.6.5 glue_1.7.0 urlchecker_1.0.1
[37] sessioninfo_1.2.2 pkgbuild_1.4.3 purrr_1.0.2 tools_4.3.2 ellipsis_0.3.2 htmltools_0.5.7
The text was updated successfully, but these errors were encountered: