is_url_subpath_of: check if a url originates from a list of repo urls

View source: R/utils.R

is_url_subpath_ofR Documentation

check if a url originates from a list of repo urls

Description

check if a url originates from a list of repo urls

Usage

is_url_subpath_of(url, urls)

Arguments

url

a url which may stem from one of the provided base urls

urls

vector of base urls

Value

logical vector indicating which base urls have a sub url of url


riskmetric documentation built on Sept. 1, 2023, 1:06 a.m.