gantt_verify: Check the consistency of the input project data frame

View source: R/gantt_verify.R

gantt_verifyR Documentation

Check the consistency of the input project data frame

Description

Check the consistency of the input project data frame, return meaningful errors or warnings if something is not quite right

Usage

gantt_verify(project, by_date = FALSE, exact_date = FALSE)

Arguments

project

A data frame. See 'ganttrify::test_project' for an example.

by_date

Logical, defaults to FALSE If FALSE, the the start and end columns in the data frame should correspond to month numbers from the beginning of the project. If TRUE, dates in the format ("2020-10" or "2020-10-01") should be given.

exact_date

Logical, defaults to FALSE. If FALSE, then periods are always understood to include full months. If FALSE, then exact dates can be given.

Value

A data frame (a tibble) that is consistent with the format expected by [ganttrify()].

Examples

gantt_verify(project = ganttrify::test_project)

giocomai/ganttrify documentation built on March 15, 2024, 6:51 p.m.