| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/paths.R |
| 3 |
\name{is_web_path} |
| 4 |
\alias{is_web_path} |
| 5 |
\title{Test if a path is a web path} |
| 6 |
\usage{ |
| 7 |
is_web_path(x) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{A vector of paths.} |
| 11 |
} |
| 12 |
\value{ |
| 13 |
A logical vector. |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Check if a path starts with \file{http://} or \file{https://} or |
| 17 |
\file{ftp://} or \file{ftps://}. |
| 18 |
} |
| 19 |
\examples{ |
| 20 |
xfun::is_web_path("https://www.r-project.org") # TRUE |
| 21 |
xfun::is_web_path("www.r-project.org") # FALSE |
| 22 |
} |