is_url: Check if the input is url e.g. http:// or ftp://

View source: R/is_url.R

is_urlR Documentation

Check if the input is url e.g. http:// or ftp://

Description

Check if the input is url e.g. http:// or ftp://

Usage

is_url(path, protocols = c("http", "https", "ftp", "ftps", "fttp", "fttps"))

Arguments

path

Path to local file or remote URL.

protocols

URL protocols to search for.

Source

Borrowed from seqminer internal function

Examples

path <- "https://github.com/RajLabMSSM/echolocatoR/raw/master/NEWS.md"
out <- is_url(path=path)

RajLabMSSM/echodata documentation built on Nov. 21, 2023, 8 a.m.