assertAllAreURL: Assert All Are URL

Description Usage Arguments Value Examples

View source: R/assertAllAreURL.R

Description

Assert All Are URL

Usage

1
2
3
assertAllAreURL(object)

isURL(object)

Arguments

object

Object.

Value

Always stop on error.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
assertAllAreURL(c(
    "https://www.r-project.org",
    "ftp://r-project.org"
))
isURL(c(
    "http://www.r-project.org",
    "https://www.r-project.org",
    "ftp://r-project.org",
    "r-project.org"
))

steinbaugh/basejump.assertions documentation built on Nov. 5, 2018, 10:37 p.m.