From 842f139b68e2ed81eaf90b4b01fca1c6203f0751 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 23:37:06 +0000 Subject: [PATCH 1/2] Initial plan From 113ec17bf26ce43c3d4f9ddea2384989727740f8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 23:39:26 +0000 Subject: [PATCH 2/2] Fix 3 style issues: remove explicit return() in schedule_helpers.R Co-authored-by: smasongarrison <6001608+smasongarrison@users.noreply.github.com> --- R/schedule_helpers.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/schedule_helpers.R b/R/schedule_helpers.R index dbc7edb..2185e87 100644 --- a/R/schedule_helpers.R +++ b/R/schedule_helpers.R @@ -76,7 +76,7 @@ } else { tmp <- paste0(unit, zadv, ", ", tmon, " - ", tfri, " : ", topic[week]) } - return(tmp) + tmp } #' Advance Date Calculation #' @@ -110,13 +110,13 @@ advdate <- function(weekonemonday, stop("Invalid legacy specified. Please use TRUE or FALSE.") } if (legacy == TRUE) { - return(.advdatev0( + .advdatev0( weekonemonday = weekonemonday, week = week, topic = topic, assignment = assignment, unit = unit - )) + ) } else if (legacy == FALSE) { # Validate inputs tryCatch( @@ -175,7 +175,7 @@ advdate <- function(weekonemonday, } if (!is.null(topic)) { - return(paste0(unit, sprintf("%02d", week), ", ", formatted_dates["Mon"], " - ", formatted_dates["Fri"], " : ", topic[week])) + paste0(unit, sprintf("%02d", week), ", ", formatted_dates["Mon"], " - ", formatted_dates["Fri"], " : ", topic[week]) } } else { stop("Invalid legacy specified. Please use TRUE or FALSE.")