is.rule: Check if the argument is a valid rule object.

Description Usage Arguments Value Author(s) See Also

View source: R/is.rule.R

Description

Function tests whether x is a valid rule object, i.e., whether it is list a list and inherits from the rmake.rule S3 class. Instances of rule represent an atomic building unit, i.e. a command that has to be executed, which optionally depends on some files or other rules – see rule() for more details.

Usage

1

Arguments

x

An argument to be tested

Value

TRUE if x is a valid rule object and FALSE otherwise.

Author(s)

Michal Burda

See Also

rule(), makefile(), rRule(), markdownRule(), offlineRule()


rmake documentation built on May 1, 2019, 10:37 p.m.