achilleasNP / IlluminaHumanMethylationEPICanno.ilm10b5.hg38

Illumina Human Methylation EPIC annotation to use with IlluminaHumanMethylationEPICB5manifest and minfi
Apache License 2.0
5 stars 6 forks source link

IlluminaHumanMethylationEPICanno.ilm10b5.hg38 download fails #1

Open arakelyanaa opened 1 year ago

arakelyanaa commented 1 year ago

Hi,

I'm trying to build IlluminaHumanMethylationEPICanno.ilm10b5.hg38 package, but package downloading fails constantly with this error:

devtools::install_github("achilleasNP/IlluminaHumanMethylationEPICanno.ilm10b5.hg38") Downloading GitHub repo achilleasNP/IlluminaHumanMethylationEPICanno.ilm10b5.hg38@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : download from 'https://api.github.com/repos/achilleasNP/IlluminaHumanMethylationEPICanno.ilm10b5.hg38/tarball/HEAD' failed

sessionInfo() R version 4.2.2 Patched (2022-11-10 r83330) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 22.04.2 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

I'd appreciate if you can help to solve this issue.

Cheers,

Arsen

achilleasNP commented 1 year ago

Hi Arsen,

That sounds like a connection problem. I just tried it and it's working for me.

> install_github("achilleasNP/IlluminaHumanMethylationEPICanno.ilm10b5.hg38")
Downloading GitHub repo achilleasNP/IlluminaHumanMethylationEPICanno.ilm10b5.hg38@HEAD
Skipping 1 packages not available: minfi
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/tmp/Rtmp8sLLQd/remotes69b2e2319b1/achilleasNP-IlluminaHumanMethylationEPICanno.ilm10b5.hg38-3db0691/DESCRIPTION’ ...
─  preparing ‘IlluminaHumanMethylationEPICanno.ilm10b5.hg38’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘IlluminaHumanMethylationEPICanno.ilm10b5.hg38_0.0.1.tar.gz’

Installing package into ‘/home/apitsill/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
* installing *source* package ‘IlluminaHumanMethylationEPICanno.ilm10b5.hg38’ ...
** using staged installation
** data
*** moving datasets to lazyload DB
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (IlluminaHumanMethylationEPICanno.ilm10b5.hg38)

Try again and if it fails again you can work around that by first downloading the zip file and then using install_local(path_to_zip) where path_to_zip is the filepath to the downloaded file, e.g:

 install_local("~/Downloads/IlluminaHumanMethylationEPICanno.ilm10b5.hg38-master.zip")

Let me know how if that works for you.

cheers, Achilleas

arakelyanaa commented 1 year ago

Hi, Achilleas,

Thank you very much. I still wasn't able to install the package from your repository (same error here, though I didn't have a problem with installing from other repositories), but local installation worked for me.

Cheers,

Arsen