stopif: stopif

Description Usage Arguments Examples

View source: R/MarkdownReportsDev.R

Description

Stop script if the condition is met, and print a message

Usage

1

Arguments

condition

any condition check that gives TRUE or FALSE

message

print a message

Examples

1
a = 1; stopif (a!= 1, message = "A is 1")

vertesy/MarkdownReportsDev documentation built on Nov. 15, 2021, 9:59 a.m.