Running 'testthat.R' [50s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(otargen)
  > 
  > test_check("otargen")
  \ Connecting the database...
  v Connecting the database... [43ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [594ms]
  
  \ Connecting the database...
  v Connecting the database... [140ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [308ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [183ms]
  
  \ Downloading data for ENSG00000143001 ...
  v Downloading data for ENSG00000143001 ... [183ms]
  
  \ Connecting the database...
  v Connecting the database... [172ms]
  
  \ Downloading data for ENSG00000141510 ...
  | Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [529ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [236ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [174ms]
  
  \ Connecting the database...
  v Connecting the database... [57ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [181ms]
  
  \ Connecting the database...
  v Connecting the database... [6ms]
  
  \ Downloading data...
  v Downloading data... [62ms]
  
  \ Connecting the database...
  v Connecting the database... [55ms]
  
  \ Downloading data...
  v Downloading data... [50ms]
  
  \ Connecting the database...
  x Connecting the database... [45ms]
  
  \ Connecting to database..
  v Connecting to database.. [8ms]
  
  \ Downloading data for 1_154453788_C_T ...
  v Downloading data for 1_154453788_C_T ... [253ms]
  
  \ Connecting to database..
  v Connecting to database.. [68ms]
  
  \ Downloading data for rs55808324 ...
  v Downloading data for rs55808324 ... [214ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [74ms]
  
  \ Connecting the database...
  v Connecting the database... [9ms]
  
  \ Downloading data...
  x Downloading data... [57ms]
  
  \ Connecting the database...
  v Connecting the database... [12ms]
  
  \ Downloading data...
  v Downloading data... [94ms]
  
  \ Connecting the database...
  v Connecting the database... [20ms]
  
  \ Downloading the data...
  v Downloading the data... [51ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading the data...
  v Downloading the data... [61ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [71ms]
  
  \ Connecting the database...
  v Connecting the database... [7ms]
  
  \ Downloading data...
  v Downloading data... [640ms]
  
  \ Connecting to the database...
  v Connecting to the database... [10ms]
  
  \ Downloading data...
  v Downloading data... [215ms]
  
  \ Connecting the database...
  v Connecting the database... [8ms]
  
  \ Downloading data...
  v Downloading data... [122ms]
  
  \ Connecting to the database...
  v Connecting to the database... [10ms]
  
  \ Downloading data for variant 1_55063514_G_A ...
  v Downloading data for variant 1_55063514_G_A ... [74ms]
  
  \ Connecting to the database...
  v Connecting to the database... [59ms]
  
  \ Downloading data for variant rs72698179 ...
  v Downloading data for variant rs72698179 ... [78ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [177ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [161ms]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [302ms]
  
  \ Downloading data for ENSG00000138821 ...
  v Downloading data for ENSG00000138821 ... [178ms]
  
  \ Downloading data for ENSG00000125255 ...
  v Downloading data for ENSG00000125255 ... [146ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [57ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [472ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [187ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [181ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [251ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [481ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting the database...
  v Connecting the database... [12ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [5.5s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [5.7s]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [5.4s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [6.4s]
  
  \ Connecting to the database...
  v Connecting to the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [1s]
  
  \ 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 ... [99ms]
  
  \ Connecting to the database...
  v Connecting to the database... [81ms]
  
  \ Downloading data for variant rs55808324 ...
  v Downloading data for variant rs55808324 ... [96ms]
  
  \ Connecting to the database...
  v Connecting to the database... [10ms]
  
  \ Downloading data...
  v Downloading data... [119ms]
  
  \ Connecting the database...
  v Connecting the database... [10ms]
  
  \ Downloading data...
  v Downloading data... [68ms]
  
  \ Connecting the database...
  v Connecting the database... [114ms]
  
  \ Downloading data...
  v Downloading data... [80ms]
  
  \ Connecting the database...
  v Connecting the database... [13ms]
  
  \ Downloading data for ENSG00000169174 ...
  x Downloading data for ENSG00000169174 ... [10.1s]
  
  \ Connecting the database...
  v Connecting the database... [12ms]
  
  \ Downloading data...
  v Downloading data... [58ms]
  
  \ Connecting the database...
  v Connecting the database... [8ms]
  
  \ Downloading data for  GCST003044 , 14_88009660_C_T ...
  v Downloading data for  GCST003044 , 14_88009660_C_T ... [1.1s]
  
  \ Connecting the database...
  v Connecting the database... [23ms]
  
  \ Downloading data...
  v Downloading data... [328ms]
  
  \ Connecting the database...
  v Connecting the database... [11ms]
  
  \ Downloading data...
  v Downloading data... [127ms]
  
  \ Connecting to the database...
  v Connecting to the database... [8ms]
  
  \ Downloading data...
  v Downloading data... [79ms]
  
  \ Connecting the database...
  v Connecting the database... [13ms]
  
  \ Downloading data...
  v Downloading data... [81ms]
  
  \ Connecting the database...
  v Connecting the database... [59ms]
  
  \ Downloading data...
  v Downloading data... [82ms]
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 78 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-studiesAndLeadVariantsForGeneByL2G.R:2:3'): test studiesAndLeadVariantsForGeneByL2G works ──
  Error: Bad Gateway (HTTP 502)
  Backtrace:
      ▆
   1. └─otargen::studiesAndLeadVariantsForGeneByL2G(gene = "ENSG00000169174") at test-studiesAndLeadVariantsForGeneByL2G.R:2:2
   2.   └─con$exec(qry$queries$getStudiesLeadL2G, variables)
   3.     ├─ghql:::cont(gh_POST(self$url, body, self$headers, ...), encoding = encoding)
   4.     └─ghql:::gh_POST(self$url, body, self$headers, ...)
   5.       └─res$raise_for_status()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 78 ]
  Error: Test failures
  Execution halted