Running ‘testthat.R’ [14s/52s]
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... [97ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [1.3s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [22ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [273ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [222ms]
  
  \ Downloading data for ENSG00000143001 ...
  v Downloading data for ENSG00000143001 ... [236ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [271ms]
  
  \ Downloading data for ENSG00000141510 ...
  | Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [1.1s]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [429ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [312ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [88ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [321ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [20ms]
  
  \ Downloading data...
  v Downloading data... [120ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [78ms]
  
  \ Downloading data...
  v Downloading data... [138ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  x Connecting to the Open Targets Genetics GrpahQL API... [105ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [20ms]
  
  \ Downloading data for 1_154453788_C_T ...
  v Downloading data for 1_154453788_C_T ... [447ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [78ms]
  
  \ Downloading data for rs55808324 ...
  v Downloading data for rs55808324 ... [351ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [23ms]
  
  \ Downloading data...
  v Downloading data... [167ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [17ms]
  
  \ Downloading data...
  x Downloading data... [120ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [41ms]
  
  \ Downloading data...
  v Downloading data... [176ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [26ms]
  
  \ Downloading the data...
  v Downloading the data... [78ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [46ms]
  
  \ Downloading the data...
  v Downloading the data... [160ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [49ms]
  
  \ Downloading data...
  v Downloading data... [192ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [44ms]
  
  \ Downloading data...
  v Downloading data... [960ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [17ms]
  
  \ Downloading data...
  v Downloading data... [323ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [16ms]
  
  \ Downloading data...
  v Downloading data... [259ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [31ms]
  
  \ Downloading data for variant 1_55063514_G_A ...
  v Downloading data for variant 1_55063514_G_A ... [133ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [85ms]
  
  \ Downloading data for variant rs72698179 ...
  v Downloading data for variant rs72698179 ... [147ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [20ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [358ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [19ms]
  
  \ Downloading data for ENSG00000167207 ...
  v Downloading data for ENSG00000167207 ... [283ms]
  
  \ Downloading data for ENSG00000096968 ...
  v Downloading data for ENSG00000096968 ... [496ms]
  
  \ Downloading data for ENSG00000138821 ...
  v Downloading data for ENSG00000138821 ... [331ms]
  
  \ Downloading data for ENSG00000125255 ...
  v Downloading data for ENSG00000125255 ... [273ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [98ms]
  
  \ Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [565ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [258ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [298ms]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [370ms]
  
  \ Downloading data for ENSG00000141510 ...
  | Downloading data for ENSG00000141510 ...
  v Downloading data for ENSG00000141510 ... [671ms]
  
  Selecting by Trait_reported_trimmed
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [16ms]
  
  \ Downloading data for ENSG00000167207 ...
  x Downloading data for ENSG00000167207 ... [10.1s]
  
  Error in test plot_l2g: Bad Gateway (HTTP 502)
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [24ms]
  
  \ Downloading data...
  v Downloading data... [1.4s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [18ms]
  
  \ Downloading data for variant 14_87978408_G_A ...
  v Downloading data for variant 14_87978408_G_A ... [111ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [122ms]
  
  \ Downloading data for variant rs55808324 ...
  v Downloading data for variant rs55808324 ... [194ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [16ms]
  
  \ Downloading data...
  v Downloading data... [159ms]
  
  \ Connecting the database...
  v Connecting the database... [17ms]
  
  \ Downloading data...
  v Downloading data... [91ms]
  
  \ Connecting the database...
  v Connecting the database... [173ms]
  
  \ Downloading data...
  v Downloading data... [128ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [19ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [5.1s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [157ms]
  
  \ Downloading data for ENSG00000169174 ...
  v Downloading data for ENSG00000169174 ... [4.9s]
  
  \ Downloading data for ENSG00000163946 ...
  v Downloading data for ENSG00000163946 ... [5.6s]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  x Connecting to the Open Targets Genetics GrpahQL API... [74ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [31ms]
  
  \ Downloading data...
  v Downloading data... [108ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [18ms]
  
  \ Downloading data for  GCST003044 , 14_88009660_C_T ...
  v Downloading data for  GCST003044 , 14_88009660_C_T ... [799ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [17ms]
  
  \ Downloading data...
  v Downloading data... [291ms]
  
  \ Connecting the database...
  v Connecting the database... [17ms]
  
  \ Downloading data...
  v Downloading data... [145ms]
  
  \ Connecting to the Open Targets Genetics GrpahQL API...
  v Connecting to the Open Targets Genetics GrpahQL API... [17ms]
  
  \ Downloading data...
  v Downloading data... [94ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [21ms]
  
  \ Downloading data...
  v Downloading data... [130ms]
  
  \ Connecting to the Open Targets Genetics GraphQL API...
  v Connecting to the Open Targets Genetics GraphQL API... [135ms]
  
  \ Downloading data...
  v Downloading data... [113ms]
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 79 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-plot_l2g.R:23:5'): test plot_l2g works ───────────────────────
  FALSE is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  An error occurred in plotting.
  Backtrace:
      ▆
   1. └─base::tryCatch(...) at test-plot_l2g.R:3:3
   2.   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   3.     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   4.       └─value[[3L]](cond)
   5.         └─testthat::expect_true(FALSE, "An error occurred in plotting.") at test-plot_l2g.R:23:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 79 ]
  Error: Test failures
  Execution halted