Skip to contents

This function creates a YAML file with the placeholder text to define a new rule. The file is stored in inst/flir/rules and will be available to users of your package if they use flir.

To create a new rule that you can use in the current project only, use add_new_rule() instead.

Usage

export_new_rule(name, path = ".")

Arguments

name

Name(s) of the rule. Cannot contain white space.

path

Path to package or project root.