is_ebi_reachable {gwasrapidd} | R Documentation |
Is the GWAS Catalog REST API server reachable?
Description
Check if the EBI server where the GWAS Catalog REST API server is running is
reachable. This function attempts to connect to
https://www.ebi.ac.uk, returning TRUE
on
success, and FALSE
otherwise. Set chatty = TRUE
for a step by
step description of the connection attempt.
Usage
is_ebi_reachable(url = "https://www.ebi.ac.uk", port = 443L, chatty = FALSE)
Arguments
url |
NHGRI-EBI GWAS Catalog server URL. Default is https://www.ebi.ac.uk. You should not need to change this parameter. |
port |
Network port on which to ping the server. You should not need to change this parameter. |
chatty |
Whether to be verbose ( |
Value
A logical value: TRUE
if EBI server is reachable, FALSE
otherwise.
Examples
# Check if the GWAS Catalog Server is reachable
is_ebi_reachable() # Returns TRUE or FALSE.
# Check if the GWAS Catalog Server is reachable
# and show exactly at what step is it failing (if that is the case)
is_ebi_reachable(chatty = TRUE)
[Package gwasrapidd version 0.99.17 Index]