-
Notifications
You must be signed in to change notification settings - Fork 36
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
ERROR: installing package indices failed #5
Comments
sessionInfo()
devtools::install_github("immunogenomics/presto") Thanks! This might help us to help you. |
Hi, answer to question 1 & 3 devtools::install_github("immunogenomics/presto") output:
Answer for question 2:
Thanks! |
This line is curious:
Why would the shell script be killed with I found related issues in other repos: Googling around leads to some questions:
By the way, please use the formatting features of GitHub Markdown to make your posts easier to read. |
You might also consider re-installing XCode to see if that helps. |
Hi,
|
Hi, I found this might be a R version-specific problem, I can install the package in R/3.6.3. |
@slowkow @I-Hao
A similar issue seems to be occurring for the harmony package, where users report installation problems with Any help is much appreciated, thank you! |
Thank you for pointing out this issue. I might need to install R 4.0.0 on my own Mac in order to start figuring this out. |
Hello @slowkow I hope you are doing well. I am having a similar problem installing presto on my mac laptop. I am using R version 3.6.3. I used the following command
Here is the
Some of the comments based on the above discussions:
Any advice/help would be helpful. Thanks a lot! -Ar |
Having similar issues |
We had a discussion about this issue in this thread: immunogenomics/harmony#90 (comment) In the end, multiple users reported that they solved the problem by following the instructions here: http://thecoatlessprofessor.com/programming/r/uninstalling-the-r-development-toolchain-on-macos/ This post in this link explains that you may need to remove the @Mohebg1234 Please consider sharing information with us. What did you try? What errors did you see? The more you share, the easier it will be for others to help. Have you followed the instructions in the link above? |
Any update on this problem? Having it right now. |
@hugokitano Could I please ask if you could try these steps? Please share your commands and output so we can try to help. git clone [email protected]:immunogenomics/presto.git
cd presto
rm -f data/*
R CMD INSTALL . This is inspired by this comment: #11 (comment) |
Hi Kamil, I'm running into an error with the clone. I'm about 90% sure I have my credentials set up since I've used git on the command line before and I followed the instructions for doing so again.
|
Try using this instead: If you'd like to resolve the |
I think this works. Thank you! Hugo |
Hi, here is the output of my sessionInfo() > sessionInfo()
R version 4.3.3 (2024-02-29 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: America/Los_Angeles
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] sctransform_0.4.1 lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1 dplyr_1.1.4
[6] purrr_1.0.2 readr_2.1.5 tidyr_1.3.1 tibble_3.2.1 ggplot2_3.5.0
[11] tidyverse_2.0.0 Seurat_5.0.3 SeuratObject_5.0.1 sp_2.1-3
loaded via a namespace (and not attached):
[1] RColorBrewer_1.1-3 rstudioapi_0.16.0 jsonlite_1.8.8
[4] magrittr_2.0.3 spatstat.utils_3.0-4 farver_2.1.1
[7] zlibbioc_1.48.2 vctrs_0.6.5 ROCR_1.0-11
[10] DelayedMatrixStats_1.24.0 spatstat.explore_3.2-7 RCurl_1.98-1.14
[13] S4Arrays_1.2.1 htmltools_0.5.8.1 SparseArray_1.2.4
[16] parallelly_1.37.1 KernSmooth_2.23-22 htmlwidgets_1.6.4
[19] ica_1.0-3 plyr_1.8.9 plotly_4.10.4
[22] zoo_1.8-12 igraph_2.0.3 mime_0.12
[25] lifecycle_1.0.4 pkgconfig_2.0.3 Matrix_1.6-5
[28] R6_2.5.1 fastmap_1.1.1 GenomeInfoDbData_1.2.11
[31] MatrixGenerics_1.14.0 fitdistrplus_1.1-11 future_1.33.2
[34] shiny_1.8.1.1 digest_0.6.35 colorspace_2.1-0
[37] patchwork_1.2.0 S4Vectors_0.40.2 tensor_1.5
[40] RSpectra_0.16-1 irlba_2.3.5.1 GenomicRanges_1.54.1
[43] labeling_0.4.3 progressr_0.14.0 fansi_1.0.6
[46] spatstat.sparse_3.0-3 timechange_0.3.0 httr_1.4.7
[49] polyclip_1.10-6 abind_1.4-5 compiler_4.3.3
[52] bit64_4.0.5 withr_3.0.0 fastDummies_1.7.3
[55] MASS_7.3-60.0.1 DelayedArray_0.28.0 tools_4.3.3
[58] lmtest_0.9-40 httpuv_1.6.15 future.apply_1.11.2
[61] goftest_1.2-3 glmGamPoi_1.14.3 glue_1.7.0
[64] nlme_3.1-164 promises_1.3.0 grid_4.3.3
[67] Rtsne_0.17 cluster_2.1.6 reshape2_1.4.4
[70] generics_0.1.3 hdf5r_1.3.10 gtable_0.3.4
[73] spatstat.data_3.0-4 tzdb_0.4.0 data.table_1.15.4
[76] hms_1.1.3 XVector_0.42.0 utf8_1.2.4
[79] BiocGenerics_0.48.1 spatstat.geom_3.2-9 RcppAnnoy_0.0.22
[82] ggrepel_0.9.5 RANN_2.6.1 pillar_1.9.0
[85] spam_2.10-0 RcppHNSW_0.6.0 later_1.3.2
[88] splines_4.3.3 lattice_0.22-5 survival_3.5-8
[91] bit_4.0.5 deldir_2.0-4 tidyselect_1.2.1
[94] miniUI_0.1.1.1 pbapply_1.7-2 gridExtra_2.3
[97] IRanges_2.36.0 SummarizedExperiment_1.32.0 scattermore_1.2
[100] stats4_4.3.3 Biobase_2.62.0 matrixStats_1.3.0
[103] stringi_1.8.3 lazyeval_0.2.2 codetools_0.2-19
[106] BiocManager_1.30.22 cli_3.6.2 uwot_0.2.1
[109] xtable_1.8-4 reticulate_1.36.0 munsell_0.5.1
[112] GenomeInfoDb_1.38.8 Rcpp_1.0.12 globals_0.16.3
[115] spatstat.random_3.2-3 png_0.1-8 parallel_4.3.3
[118] dotCall64_1.1-1 sparseMatrixStats_1.14.0 bitops_1.0-7
[121] listenv_0.9.1 viridisLite_0.4.2 scales_1.3.0
[124] ggridges_0.5.6 crayon_1.5.2 leiden_0.4.3.1
[127] rlang_1.1.3 cowplot_1.1.3
and here is the error: > devtools::install_github('immunogenomics/presto')
Downloading GitHub repo immunogenomics/presto@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/immunogenomics/presto/tarball/HEAD' Thanks for your help in advance! |
It seems your You might try downloading the source by yourself and then installing it with
Or you can try to troubleshoot your error message by trying if this works for you: source_url <- "https://api.github.com/repos/immunogenomics/presto/tarball/HEAD"
capabilities("libcurl")
# libcurl
# TRUE
utils::download.file(source_url, destfile="presto.tar.gz", method="libcurl") |
@slowkow |
I had the same issue. I generated a PAT classic token on github by doing to developer settings. copy that token Then in your R console i ran the following code: and followed the instructions to change the credentials and put my updated PAT (Personal Access Token). Also I was cautious and removed mentions of outdated PATs. Restart R and then run library(devtools) and devtools::install_github("immunogenomics/presto") and i was good to go! |
Hi,
I just upgraded R to 4.0.0 and try to install this package, but there is an error I couldn't resolve:
Could you help me?
Thank you in advance!
I-Hao
The text was updated successfully, but these errors were encountered: