default_plan: Get/set the input for the default catchr plan

Description Usage Arguments Value See Also

Description

These functions allow the user to set and retrieve the input that will be assigned to any conditions passed to make_plans() without plans (i.e., as unnamed arguments). Using the same inputting style as make_plans(), the argument new_plan will essentially be treated the same way a single named argument would be in make_plans(), without actually having a name/specific condition.

Usage

1
2
3

Arguments

new_plan

The input (in the style of named arguments to make_plans()) that will become the input of default plan.

Value

set_default_plan() will invisibly return a "cleaned up" version of the input (i.e., evaluated, and with the unquoted terms replaced with strings), which is what will also be returned by get_default_plan() until a new default is set.

See Also

default catchr options


burchill/catchr documentation built on Sept. 22, 2021, 10:34 p.m.