R/wrappers.R

Defines functions str_detect readline skip status_code ping_port is_online browse_url

# Wrappers around imported functions to make mocking easier with:
# - testthat::with_mocked_bindings
# - testthat::local_mocked_bindings
#
browse_url <- function(...) utils::browseURL(...)
is_online <- function(...) pingr::is_online(...)
ping_port <- function(...) pingr::ping_port(...)
status_code <- function(...) httr::status_code(...)
skip <- function(...) testthat::skip(...)
readline <- function(...) base::readline(...)
str_detect <- function(...) stringr::str_detect(...)

Try the gwasrapidd package in your browser

Any scripts or data that you put into this service are public.

gwasrapidd documentation built on June 8, 2025, 1:58 p.m.