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

%matches%.characterR Documentation

Check Whether Character matches y

Description

Checks whether character matches y, treating x as filepath.

Usage

## 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

data(drug)
file <- tempfile()
spec <- specification(drug, tol = 3)
library(csv)
as.csv(drug, file)
file %matches% spec

spec documentation built on June 22, 2024, 11:05 a.m.