jaleesr / TrendCatcher

TrendCatcher is an open source R-package that allows users to systematically analyze and visualize time course data. Please cite "Temporal transcriptomic analysis using TrendCatcher identifies early and persistent neutrophil activation in severe COVID-19" by Xinge Wang et al published in JCI Insight (2022) - https://insight.jci.org/articles/view/157255
9 stars 3 forks source link

Download error #5

Closed cutleraging closed 2 years ago

cutleraging commented 2 years ago

Hi, I'm getting this error when trying to download your package:

> devtools::install_github("jaleesr/TrendCatcher", dependencies = TRUE, build_vignettes = FALSE)
Downloading GitHub repo jaleesr/TrendCatcher@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/jaleesr/TrendCatcher/tarball/HEAD' failed

Any help?

wangxinge commented 2 years ago

Hi @cutleraging . Could you please share your sessionInfo() please?

cutleraging commented 2 years ago
> devtools::install_github("jaleesr/TrendCatcher", dependencies = TRUE, build_vignettes = FALSE)
Downloading GitHub repo jaleesr/TrendCatcher@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/jaleesr/TrendCatcher/tarball/HEAD' failed
> 
> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] ps_1.6.0          prettyunits_1.1.1 rprojroot_2.0.2   withr_2.4.2       crayon_1.4.1      R6_2.5.1          lifecycle_1.0.0  
 [8] magrittr_2.0.1    rlang_0.4.11      cachem_1.0.6      cli_3.0.1         curl_4.3.2        remotes_2.4.0     fs_1.5.0         
[15] testthat_3.0.4    callr_3.7.0       ellipsis_0.3.2    desc_1.3.0        devtools_2.4.2    tools_4.1.0       glue_1.4.2       
[22] purrr_0.3.4       pkgload_1.2.2     fastmap_1.1.0     compiler_4.1.0    processx_3.5.2    pkgbuild_1.2.0    sessioninfo_1.1.1
[29] memoise_2.0.0     usethis_2.0.1 
wangxinge commented 2 years ago

Dear @cutleraging , seems like it is a remotes or devtools package issue. You can check r-lib/remotes#130 for similar solutions. But for a quick installation, you can download the zip file for the R package to your local folder and installed locally. Here is the package zip file, https://drive.google.com/file/d/15LBxKniTM6HmspsI-_pmvHt_yl33fLVp/view?usp=sharing. After install it, just run install.packages("pathtogzfile/TrendCatcher_1.0.0.tar.gz", repos = NULL, type = "source"). Let me know if it works for you.

cutleraging commented 2 years ago

Yep, that worked!