Skip to content

otargen

Access Open Target

v2.0.1 · May 23, 2026 · MIT + file LICENSE

Description

Interact seamlessly with Open Target GraphQL endpoint to query and retrieve tidy data tables, facilitating the analysis of gene, disease, drug, and genetic data. For more information about the Open Target API (<https://platform.opentargets.org/api>).

Downloads

CRAN

509

Last 30 days

7300th

989

Last 90 days

3K

Last year

Trend: +97.3% (30d vs prior 30d)

r2u CRAN

18

Last 30 days

32

Last 90 days

127

Last year

Trend: +28.6% (30d vs prior 30d)

autoCRAN

2

Last 7 days

14

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 19, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 18, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [2s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(otargen)
  > 
  > test_check("otargen")
  \ Sending GraphQL request...
  Saving _problems/test_gwasCredibleSetsQuery-14.R
...[truncated]...
Id, size = size)`: GraphQL query failed. HTTP status: 502
  Backtrace:
      ▆
   1. └─otargen::gwasCredibleSetsQuery(...) at test_gwasCredibleSetsQuery.R:10:3
  
  [ FAIL 1 | WARN 0 | SKIP 30 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for unstated dependencies in examples

Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpcH5exK/file5f8a2556ccbd8/geneOntologyQuery.R': No space left on device
Error in file(out, "wt") : cannot open the connection
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 1, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 27, 2026
ERROR r-devel-linux-x86_64-debian-clang

tests

Running ‘testthat.R’ [3s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(otargen)
  > 
  > test_check("otargen")
  \ Sending GraphQL request...
  Saving _problems/test_gwasCredibleSetsQuery-14.R
...[truncated]...
Id, size = size)`: GraphQL query failed. HTTP status: 502
  Backtrace:
      ▆
   1. └─otargen::gwasCredibleSetsQuery(...) at test_gwasCredibleSetsQuery.R:10:3
  
  [ FAIL 1 | WARN 0 | SKIP 30 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ghql cli dplyr jsonlite magrittr tibble tidyr httr otargen

Version History

7 tracked
updated 2.0.1 ← 2.0.0 diff May 23, 2026
new 2.0.0 Mar 10, 2026
updated 2.0.0 ← 1.1.5 diff Jul 14, 2025
updated 1.1.5 ← 1.1.1 diff Sep 21, 2024
updated 1.1.1 ← 1.1.0 diff Feb 20, 2024
updated 1.1.0 ← 1.0.0 diff Dec 11, 2023
new 1.0.0 Jun 22, 2023