Skip to contents

Check consistency of the 'event' slot with projects defined in the 'project' slot.

Usage

check_case_event(object)

Arguments

object

An object of class Case.

Value

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

Details

If the event slot is NULL, no checks are performed and character(0) is returned. Otherwise, verifies that all project names referenced in columns base and change of methods::slot(object, "event") exist in methods::slot(object, "project")[["project"]].

Author

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