Skip to content

Commit

Permalink
feat: add agenda validation before summarizing a meeting
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaburg1 committed Apr 16, 2024
1 parent 99168d4 commit 6bdabad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/summarization.R
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ summarise_full_meeting <- function(
...
) {

if (!validate_agenda(agenda)) {
stop("The agenda is not valid.")
}

# Import agenda from file
if (is.character(agenda)) {
agenda <- dget(agenda)
Expand Down

0 comments on commit 6bdabad

Please # to comment.