Running ‘testthat.R’ [14s/65s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(otargen)
  > 
  > test_check("otargen")
  \ Connecting the database...
  v Connecting the database... [69ms]
  
  \ Downloading data for ENSG00000169174 ...
  | Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [1.8s]
  
  \ Connecting the database...
  v Connecting the database... [15ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [455ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [338ms]
  
  \ Downloading data for ENSG00000143001 ...
  v Downloading data for ENSG00000143001 ... [437ms]
  
  \ Connecting the database...
  v Connecting the database... [272ms]
  
  \ Downloading data for ENSG00000141510 ...
  | Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [974ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [2.5s]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [358ms]
  
  \ Connecting the database...
  v Connecting the database... [96ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [295ms]
  
  \ Connecting the database...
  v Connecting the database... [14ms]
  
  \ Downloading data...
  v Downloading data... [112ms]
  
  \ Connecting the database...
  v Connecting the database... [98ms]
  
  \ Downloading data...
  v Downloading data... [157ms]
  
  \ Connecting the database...
  x Connecting the database... [133ms]
  
  \ Connecting to database..
  v Connecting to database.. [13ms]
  
  \ Downloading data for 1_154453788_C_T ...
  v Downloading data for 1_154453788_C_T ... [499ms]
  
  \ Connecting to database..
  v Connecting to database.. [101ms]
  
  \ Downloading data for rs55808324 ...
  v Downloading data for rs55808324 ... [321ms]
  
  \ Connecting the database...
  v Connecting the database... [13ms]
  
  \ Downloading data...
  v Downloading data... [109ms]
  
  \ Connecting the database...
  v Connecting the database... [28ms]
  
  \ Downloading data...
  x Downloading data... [127ms]
  
  \ Connecting the database...
  v Connecting the database... [14ms]
  
  \ Downloading data...
  v Downloading data... [151ms]
  
  \ Connecting the database...
  v Connecting the database... [14ms]
  
  \ Downloading the data...
  v Downloading the data... [97ms]
  
  \ Connecting the database...
  v Connecting the database... [13ms]
  
  \ Downloading the data...
  v Downloading the data... [114ms]
  
  \ Connecting the database...
  v Connecting the database... [14ms]
  
  \ Downloading data...
  v Downloading data... [129ms]
  
  \ Connecting the database...
  v Connecting the database... [16ms]
  
  \ Downloading data...
  v Downloading data... [1.2s]
  
  \ Connecting to the database...
  v Connecting to the database... [14ms]
  
  \ Downloading data...
  v Downloading data... [353ms]
  
  \ Connecting the database...
  v Connecting the database... [15ms]
  
  \ Downloading data...
  v Downloading data... [235ms]
  
  \ Connecting to the database...
  v Connecting to the database... [15ms]
  
  \ Downloading data for variant 1_55063514_G_A ...
  v Downloading data for variant 1_55063514_G_A ... [128ms]
  
  \ Connecting to the database...
  v Connecting to the database... [99ms]
  
  \ Downloading data for variant rs72698179 ...
  v Downloading data for variant rs72698179 ... [115ms]
  
  \ Connecting the database...
  v Connecting the database... [14ms]
  
  \ Downloading data for ENSG00000169174 ...
  | Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [260ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [14ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [194ms]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [353ms]
  
  \ Downloading data for ENSG00000138821 ...
  v Downloading data for ENSG00000138821 ... [261ms]
  
  \ Downloading data for ENSG00000125255 ...
  v Downloading data for ENSG00000125255 ... [271ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  x Connecting the database... [91ms]
  
  \ Connecting the database...
  v Connecting the database... [31ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [5.5s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [6.6s]
  
  \ Connecting the database...
  v Connecting the database... [16ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [5.2s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [5.1s]
  
  \ Connecting to the database...
  v Connecting to the database... [16ms]
  
  \ Downloading data...
  v Downloading data... [883ms]
  
  \ Connecting to the database...
  v Connecting to the database... [16ms]
  
  \ Downloading data for variant 14_87978408_G_A ...
  v Downloading data for variant 14_87978408_G_A ... [166ms]
  
  \ Connecting to the database...
  v Connecting to the database... [130ms]
  
  \ Downloading data for variant rs55808324 ...
  v Downloading data for variant rs55808324 ... [214ms]
  
  \ Connecting to the database...
  v Connecting to the database... [15ms]
  
  \ Downloading data...
  v Downloading data... [205ms]
  
  \ Connecting the database...
  v Connecting the database... [16ms]
  
  \ Downloading data...
  v Downloading data... [166ms]
  
  \ Connecting the database...
  v Connecting the database... [179ms]
  
  \ Downloading data...
  v Downloading data... [167ms]
  
  \ Connecting the database...
  v Connecting the database... [15ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [5.2s]
  
  \ Connecting the database...
  v Connecting the database... [239ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [5s]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [5.2s]
  
  \ Connecting the database...
  x Connecting the database... [111ms]
  
  \ Connecting the database...
  v Connecting the database... [15ms]
  
  \ Downloading data...
  v Downloading data... [121ms]
  
  \ Connecting the database...
  v Connecting the database... [29ms]
  
  \ Downloading data for  GCST003044 , 14_88009660_C_T ...
  v Downloading data for  GCST003044 , 14_88009660_C_T ... [847ms]
  
  \ Connecting the database...
  v Connecting the database... [29ms]
  
  \ Downloading data...
  v Downloading data... [469ms]
  
  \ Connecting the database...
  v Connecting the database... [31ms]
  
  \ Downloading data...
  v Downloading data... [280ms]
  
  \ Connecting to the database...
  v Connecting to the database... [33ms]
  
  \ Downloading data...
  v Downloading data... [151ms]
  
  \ Connecting the database...
  v Connecting the database... [31ms]
  
  \ Downloading data...
  v Downloading data... [194ms]
  
  \ Connecting the database...
  v Connecting the database... [130ms]
  
  \ Downloading data...
  v Downloading data... [175ms]
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot_coloc.R:5:3'): test plot_coloc works ──────────────────────
  Error in `otargen::colocalisationsForGene(gene = "TP53")`: 
  Please provide Ensemble gene ID or gene name
  Backtrace:
      ▆
   1. ├─otargen::colocalisationsForGene(gene = "TP53") %>% ... at test-plot_coloc.R:5:2
   2. ├─otargen::plot_coloc(., biobank = TRUE)
   3. └─otargen::colocalisationsForGene(gene = "TP53")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 75 ]
  Error: Test failures
  Execution halted