is_url_subpath_of {riskmetric}R 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


[Package riskmetric version 0.2.4 Index]