Running 'testthat.R' [53s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(otargen)
  > 
  > test_check("otargen")
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [53ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [546ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [9ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [406ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [183ms]
  
  \ Downloading data for ENSG00000143001 ...
  | Downloading data for ENSG00000143001 ...
  v Downloading data for ENSG00000143001 ... [194ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [175ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [577ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [275ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [195ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [61ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [186ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [14ms]
  
  \ Downloading data...
  v Downloading data... [78ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [63ms]
  
  \ Downloading data...
  v Downloading data... [87ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  x Connecting to the Open Targets Genetics GrpahQL API... [62ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [17ms]
  
  \ Downloading data for 1_154453788_C_T ...
  v Downloading data for 1_154453788_C_T ... [237ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [74ms]
  
  \ Downloading data for rs55808324 ...
  v Downloading data for rs55808324 ... [189ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [17ms]
  
  \ Downloading data...
  v Downloading data... [89ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [15ms]
  
  \ Downloading data...
  x Downloading data... [76ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [16ms]
  
  \ Downloading data...
  v Downloading data... [107ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [15ms]
  
  \ Downloading the data...
  v Downloading the data... [64ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [10ms]
  
  \ Downloading the data...
  v Downloading the data... [62ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [10ms]
  
  \ Downloading data...
  v Downloading data... [70ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [16ms]
  
  \ Downloading data...
  v Downloading data... [673ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [12ms]
  
  \ Downloading data...
  v Downloading data... [222ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [14ms]
  
  \ Downloading data...
  v Downloading data... [146ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [15ms]
  
  \ Downloading data for variant 1_55063514_G_A ...
  v Downloading data for variant 1_55063514_G_A ... [78ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [80ms]
  
  \ Downloading data for variant rs72698179 ...
  v Downloading data for variant rs72698179 ... [84ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [17ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [193ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [12ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [180ms]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [343ms]
  
  \ Downloading data for ENSG00000138821 ...
  | Downloading data for ENSG00000138821 ...
  v Downloading data for ENSG00000138821 ... [206ms]
  
  \ Downloading data for ENSG00000125255 ...
  v Downloading data for ENSG00000125255 ... [145ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [68ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [525ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [179ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [165ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [239ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [472ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [15ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [5.2s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [5s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [14ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [5.2s]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [6.5s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [10ms]
  
  \ Downloading data...
  v Downloading data... [1.4s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [10ms]
  
  \ Downloading data for variant 14_87978408_G_A ...
  v Downloading data for variant 14_87978408_G_A ... [125ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [101ms]
  
  \ Downloading data for variant rs55808324 ...
  v Downloading data for variant rs55808324 ... [121ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [14ms]
  
  \ Downloading data...
  v Downloading data... [500ms]
  
  \ Connecting the database...
  v Connecting the database... [19ms]
  
  \ Downloading data...
  v Downloading data... [116ms]
  
  \ Connecting the database...
  v Connecting the database... [131ms]
  
  \ Downloading data...
  v Downloading data... [100ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [14ms]
  
  \ Downloading data for ENSG00000169174 ...
  x Downloading data for ENSG00000169174 ... [10.1s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [10ms]
  
  \ Downloading data...
  v Downloading data... [67ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [12ms]
  
  \ Downloading data for  GCST003044 , 14_88009660_C_T ...
  v Downloading data for  GCST003044 , 14_88009660_C_T ... [1.2s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [16ms]
  
  \ Downloading data...
  v Downloading data... [1s]
  
  \ Connecting the database...
  v Connecting the database... [17ms]
  
  \ Downloading data...
  v Downloading data... [232ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [12ms]
  
  \ Downloading data...
  v Downloading data... [137ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [16ms]
  
  \ Downloading data...
  v Downloading data... [138ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [90ms]
  
  \ Downloading data...
  v Downloading data... [89ms]
  
  [ 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:3
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 78 ]
  Error: Test failures
  Execution halted