R Under development (unstable) (2024-09-20 r87184 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(otargen) > > test_check("otargen") \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [42ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [556ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [11ms] \ Downloading data for ENSG00000163946 ... v Downloading data for ENSG00000163946 ... [239ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [172ms] \ Downloading data for ENSG00000143001 ... v Downloading data for ENSG00000143001 ... [145ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [188ms] \ Downloading data for ENSG00000141510 ... | Downloading data for ENSG00000141510 ... v Downloading data for ENSG00000141510 ... [381ms] \ Downloading data for ENSG00000163946 ... v Downloading data for ENSG00000163946 ... [243ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [181ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [66ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [161ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [12ms] \ Downloading data... v Downloading data... [64ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [64ms] \ Downloading data... v Downloading data... [53ms] \ Connecting to the Open Targets Genetics GrpahQL API... x Connecting to the Open Targets Genetics GrpahQL API... [59ms] \ Connecting to the Open Targets Genetics GraphQL API... v Connecting to the Open Targets Genetics GraphQL API... [12ms] \ Downloading data for 1_154453788_C_T ... v Downloading data for 1_154453788_C_T ... [198ms] \ Connecting to the Open Targets Genetics GraphQL API... v Connecting to the Open Targets Genetics GraphQL API... [60ms] \ Downloading data for rs55808324 ... v Downloading data for rs55808324 ... [134ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [9ms] \ Downloading data... v Downloading data... [73ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [13ms] \ Downloading data... x Downloading data... [75ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [11ms] \ Downloading data... v Downloading data... [86ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading the data... v Downloading the data... [40ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [12ms] \ Downloading the data... v Downloading the data... [63ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading data... v Downloading data... [60ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading data... v Downloading data... [525ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading data... v Downloading data... [157ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [15ms] \ Downloading data... v Downloading data... [98ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [8ms] \ Downloading data for variant 1_55063514_G_A ... v Downloading data for variant 1_55063514_G_A ... [59ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [67ms] \ Downloading data for variant rs72698179 ... v Downloading data for variant rs72698179 ... [70ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [12ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [199ms] Selecting by Trait_reported_trimmed \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [13ms] \ Downloading data for ENSG00000167207 ... v Downloading data for ENSG00000167207 ... [140ms] \ Downloading data for ENSG00000096968 ... v Downloading data for ENSG00000096968 ... [226ms] \ Downloading data for ENSG00000138821 ... v Downloading data for ENSG00000138821 ... [131ms] \ Downloading data for ENSG00000125255 ... v Downloading data for ENSG00000125255 ... [110ms] Selecting by Trait_reported_trimmed \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [75ms] \ Downloading data for ENSG00000141510 ... v Downloading data for ENSG00000141510 ... [380ms] Selecting by Trait_reported_trimmed \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [175ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [157ms] \ Downloading data for ENSG00000163946 ... v Downloading data for ENSG00000163946 ... [242ms] \ Downloading data for ENSG00000141510 ... v Downloading data for ENSG00000141510 ... [433ms] Selecting by Trait_reported_trimmed \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [8ms] \ Downloading data for ENSG00000167207 ... v Downloading data for ENSG00000167207 ... [4.7s] \ Downloading data for ENSG00000096968 ... v Downloading data for ENSG00000096968 ... [4.8s] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [13ms] \ Downloading data for ENSG00000167207 ... v Downloading data for ENSG00000167207 ... [5s] \ Downloading data for ENSG00000096968 ... v Downloading data for ENSG00000096968 ... [4.9s] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading data... v Downloading data... [380ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading data for variant 14_87978408_G_A ... v Downloading data for variant 14_87978408_G_A ... [69ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [102ms] \ Downloading data for variant rs55808324 ... v Downloading data for variant rs55808324 ... [84ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [12ms] \ Downloading data... v Downloading data... [121ms] \ Connecting the database... v Connecting the database... [6ms] \ Downloading data... v Downloading data... [64ms] \ Connecting the database... v Connecting the database... [136ms] \ Downloading data... v Downloading data... [121ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [7ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [4.7s] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [129ms] \ Downloading data for ENSG00000169174 ... v Downloading data for ENSG00000169174 ... [5.2s] \ Downloading data for ENSG00000163946 ... v Downloading data for ENSG00000163946 ... [5s] \ Connecting to the Open Targets Genetics GrpahQL API... x Connecting to the Open Targets Genetics GrpahQL API... [56ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [11ms] \ Downloading data... v Downloading data... [59ms] \ 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 ... [682ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [11ms] \ Downloading data... v Downloading data... [199ms] \ Connecting the database... v Connecting the database... [11ms] \ Downloading data... v Downloading data... [155ms] \ Connecting to the Open Targets Genetics GrpahQL API... v Connecting to the Open Targets Genetics GrpahQL API... [10ms] \ Downloading data... v Downloading data... [69ms] \ Connecting to the Open Targets Genetics GraphQL API... v Connecting to the Open Targets Genetics GraphQL API... [9ms] \ Downloading data... v Downloading data... [126ms] \ Connecting to the Open Targets Genetics GraphQL API... v Connecting to the Open Targets Genetics GraphQL API... [103ms] \ Downloading data... v Downloading data... [107ms] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 83 ] > > # to be removed when publishing the package > #sapply(stringr::str_replace(list.files("./R/"),".R$",""),usethis::use_test) > > proc.time() user system elapsed 8.65 0.85 48.73