Running ‘testthat.R’ [11s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(otargen)
  > 
  > test_check("otargen")
  \ Connecting the database...
  v Connecting the database... [95ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [1.1s]
  
  \ Connecting the database...
  v Connecting the database... [272ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [327ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [205ms]
  
  \ Downloading data for ENSG00000143001 ...
  v Downloading data for ENSG00000143001 ... [250ms]
  
  \ Connecting the database...
  v Connecting the database... [235ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [596ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [318ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [235ms]
  
  \ Connecting the database...
  x Connecting the database... [123ms]
  
  \ Connecting the database...
  v Connecting the database... [26ms]
  
  \ Downloading data...
  v Downloading data... [86ms]
  
  \ Connecting the database...
  v Connecting the database... [113ms]
  
  \ Downloading data...
  v Downloading data... [101ms]
  
  \ Connecting the database...
  x Connecting the database... [92ms]
  
  \ Connecting to database..
  v Connecting to database.. [11ms]
  
  \ Downloading data for 1_154453788_C_T ...
  v Downloading data for 1_154453788_C_T ... [498ms]
  
  \ Connecting to database..
  v Connecting to database.. [102ms]
  
  \ Downloading data for rs55808324 ...
  v Downloading data for rs55808324 ... [428ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [154ms]
  
  \ Connecting the database...
  v Connecting the database... [27ms]
  
  \ Downloading data...
  x Downloading data... [133ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [125ms]
  
  \ Connecting the database...
  v Connecting the database... [22ms]
  
  \ Downloading the data...
  v Downloading the data... [103ms]
  
  \ Connecting the database...
  v Connecting the database... [27ms]
  
  \ Downloading the data...
  v Downloading the data... [99ms]
  
  \ Connecting the database...
  v Connecting the database... [30ms]
  
  \ Downloading data...
  v Downloading data... [131ms]
  
  \ Connecting the database...
  v Connecting the database... [43ms]
  
  \ Downloading data...
  v Downloading data... [935ms]
  
  \ Connecting to the database...
  v Connecting to the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [289ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [204ms]
  
  \ Connecting to the database...
  v Connecting to the database... [30ms]
  
  \ Downloading data for variant 1_55063514_G_A ...
  v Downloading data for variant 1_55063514_G_A ... [140ms]
  
  \ Connecting to the database...
  v Connecting to the database... [117ms]
  
  \ Downloading data for variant rs72698179 ...
  v Downloading data for variant rs72698179 ... [125ms]
  
  \ Connecting the database...
  v Connecting the database... [64ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [238ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [12ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [177ms]
  
  \ Downloading data for ENSG00000096968 ...
  | Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [436ms]
  
  \ Downloading data for ENSG00000138821 ...
  v Downloading data for ENSG00000138821 ... [232ms]
  
  \ Downloading data for ENSG00000125255 ...
  v Downloading data for ENSG00000125255 ... [277ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [99ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [514ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [265ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [231ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [269ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [509ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [10ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [4.9s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [5s]
  
  \ Connecting the database...
  v Connecting the database... [15ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [4.9s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [4.8s]
  
  \ Connecting to the database...
  v Connecting to the database... [26ms]
  
  \ Downloading data...
  v Downloading data... [983ms]
  
  \ Connecting to the database...
  v Connecting to the database... [12ms]
  
  \ Downloading data for variant 14_87978408_G_A ...
  v Downloading data for variant 14_87978408_G_A ... [121ms]
  
  \ Connecting to the database...
  v Connecting to the database... [92ms]
  
  \ Downloading data for variant rs55808324 ...
  v Downloading data for variant rs55808324 ... [116ms]
  
  \ Connecting to the database...
  v Connecting to the database... [31ms]
  
  \ Downloading data...
  v Downloading data... [144ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [113ms]
  
  \ Connecting the database...
  v Connecting the database... [165ms]
  
  \ Downloading data...
  v Downloading data... [114ms]
  
  \ Connecting the database...
  v Connecting the database... [13ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [4.9s]
  
  \ Connecting the database...
  v Connecting the database... [150ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [5.6s]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [5s]
  
  \ Connecting the database...
  x Connecting the database... [104ms]
  
  \ Connecting the database...
  v Connecting the database... [24ms]
  
  \ Downloading data...
  v Downloading data... [123ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data for  GCST003044 , 14_88009660_C_T ...
  v Downloading data for  GCST003044 , 14_88009660_C_T ... [706ms]
  
  \ Connecting the database...
  v Connecting the database... [10ms]
  
  \ Downloading data...
  v Downloading data... [444ms]
  
  \ Connecting the database...
  v Connecting the database... [24ms]
  
  \ Downloading data...
  v Downloading data... [187ms]
  
  \ Connecting to the database...
  v Connecting to the database... [28ms]
  
  \ Downloading data...
  v Downloading data... [150ms]
  
  \ Connecting the database...
  v Connecting the database... [27ms]
  
  \ Downloading data...
  v Downloading data... [144ms]
  
  \ Connecting the database...
  v Connecting the database... [110ms]
  
  \ Downloading data...
  v Downloading data... [164ms]
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-colocalisationsForGene.R:5:3'): test colocalisationsForGene works ──
  Error in `otargen::colocalisationsForGene(genes = "PCSK9")`: 
  Please provide Ensemble gene ID or gene name
  Backtrace:
      ▆
   1. └─otargen::colocalisationsForGene(genes = "PCSK9") at test-colocalisationsForGene.R:5:3
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted