R/system-check-scalar-hasInternet.R

Defines functions hasInternet

Documented in hasInternet

#' Does the current session have an Internet connection?
#'
#' @name check-scalar-hasInternet
#' @note Updated 2023-08-24.
#'
#' @inherit check return
#'
#' @seealso
#' - `isAnExistingUrl()`.
#' - `Biobase::testBioCConnection()`.
#'
#' @examples
#' hasInternet()
NULL



#' @rdname check-scalar-hasInternet
#' @export
hasInternet <- function() {
    isAnExistingUrl("https://www.google.com/")
}
steinbaugh/goalie documentation built on July 4, 2025, 8:56 a.m.