Skip to content

Commit

Permalink
clean unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaburg1 committed Mar 8, 2024
1 parent 41b823a commit e9afb2d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions R/data_management.R
Original file line number Diff line number Diff line change
Expand Up @@ -392,16 +392,6 @@ convert_agenda_times <- function(
validate_agenda_element(agenda[[i]], from = TRUE, to = TRUE)
}

# if (
# convert_to == "clocktime" &&
# inherits(agenda[[1]]["from"], c("POSIXct", "character"))) {
#
# warning("Agenda already in clock time format.",
# call. = FALSE, immediate. = TRUE)
#
# return(agenda_orig)
# }

# Check if agenda times are all of the same class
if (!all(purrr::map_lgl(agenda, ~ is.numeric(.x$from))) &&
!all(purrr::map_lgl(agenda, ~ {
Expand Down

0 comments on commit e9afb2d

Please # to comment.