Skip to contents

This function creates a YAML file with the placeholder text to define a new rule. The file is stored in flir/rules/custom. You need to create the flir folder with setup_flir() if it doesn't exist.

If you want to create a rule that users of your package will be able to access, use export_new_rule() instead.

Usage

add_new_rule(name, path = ".")

Arguments

name

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

path

Path to package or project root.