Skip to contents

Check that the 'action' slot contains all required columns and that all actions referenced in the 'project' slot are defined.

Usage

check_case_action(object)

Arguments

object

An object of class Case.

Value

Character vector of error messages, or character(0) if valid.

Details

Verifies that object["action"] contains the columns defined in options action_col, cost_during, and cost_after. It also tests whether all actions listed in object["project"][["action"]] exist in object["action"][["action"]].

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org