Skip to content

Commit 3022ca9

Browse files
updated code for align_date function
1 parent 980b1d8 commit 3022ca9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/align_dates.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
#' 5. Updates the `date_time` column in the input dataframe if a mismatch is found and a valid correction is possible.
1616
#' 6. Returns the updated dataframe with corrected date-time values.
1717
#'
18-
#' @import bleutils
19-
#' @import lubridate
20-
#' @import dplyr
18+
#' @import bleutils,
19+
# lubridate,
20+
#' dplyr
2121
#'
2222
#' @examples
2323
#' # Assuming 'df' is a dataframe with a 'station' and 'date_time' column
2424
#' aligned_df <- align_dates(df)
2525
#'
2626
#' @export
2727
align_dates <- function(df) {
28-
library(bleutils)
28+
2929

3030
# Internal function to check data matches
3131
check_data_matches <- function(input_data, official_record) {

0 commit comments

Comments
 (0)