Skip to content

Commit 7facc4c

Browse files
committed
update monthly moving averages to return dataframe
1 parent fb8839e commit 7facc4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/calc_monthly_moving_avg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ calc_monthly_moving_avg <- function(df,
9595
# Cleanup
9696
dt[, (temp_id_col) := NULL]
9797

98-
return(dt)
98+
return(as.data.frame(dt))
9999
}

0 commit comments

Comments
 (0)