grapes-matches-grapes-.character: Check Whether Character matches y

Description Usage Arguments See Also Examples

Description

Checks whether character matches y, treating x as filepath.

Usage

1
2
## S3 method for class 'character'
x %matches% y, ...

Arguments

x

character

y

object

...

passed arguments

See Also

Other matches: %matches%.data.frame, %matches%.spec, %matches%

Examples

1
2
3
4
5
6
data(drug)
file <- tempfile()
spec <- specification(drug, tol = 3)
library(csv)
as.csv(drug, file)
file \%matches\% spec

spec documentation built on May 2, 2019, 10:14 a.m.