R/draft/yaml-validation.R

names(my_plan)

# any milestone must have a title
purrr::map(my_plan, names) %>%
  purrr::map_lgl(~length(intersect(., "title")) == 1) %>%
  all()

# any issues must have titles
purrr::map(my_plan, "issue") %>%
  purrr::modify_depth(2, "title") %>%
  purrr::map_dbl(~sum(is.na(.)))

Try the projmgr package in your browser

Any scripts or data that you put into this service are public.

projmgr documentation built on May 29, 2024, 5 a.m.