da-bar / JASPAR2022

1 stars 0 forks source link

Install problem: [jaspar.genereg.net] SSL certificate problem: certificate has expired #2

Open gsx-ucas opened 1 year ago

gsx-ucas commented 1 year ago

install failed, see the details below:

Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31)
Installing package(s) 'JASPAR2022'
installing the source package ‘JASPAR2022’

trying URL 'https://bioconductor.org/packages/3.16/data/annotation/src/contrib/JASPAR2022_0.99.7.tar.gz'
Content type 'application/x-gzip' length 270129 bytes (263 KB)
==================================================
downloaded 263 KB

* installing *source* package ‘JASPAR2022’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
adding rname 'https://jaspar.genereg.net/download/database/JASPAR2022.sqlite'
Warning: download failed
  web resource path: ‘https://jaspar.genereg.net/download/database/JASPAR2022.sqlite’
  local file path: ‘/Users/mac/Library/Caches/org.R-project.R/R/BiocFileCache/15ba1f1e1dfa_JASPAR2022.sqlite’
  reason: Peer certificate cannot be authenticated with given CA certificates: [jaspar.genereg.net] SSL certificate problem: certificate has expired
Warning: bfcadd() failed; resource removed
  rid: BFC7
  fpath: ‘https://jaspar.genereg.net/download/database/JASPAR2022.sqlite’
  reason: download failed
Warning in value[[3L]](cond) :

trying to add rname 'https://jaspar.genereg.net/download/database/JASPAR2022.sqlite' produced error:
  bfcadd() failed; see warnings()
Error: package or namespace load failed for ‘JASPAR2022’:
 .onLoad failed in loadNamespace() for 'JASPAR2022', details:
  call: bfcrpath(BiocFileCache(), url)
  error: not all 'rnames' found or unique.
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/JASPAR2022’
da-bar commented 1 year ago

Hi, Can you try and download the file using wget or curl? I tried to reproduce the error on different systems, but I couldn't.