Skip to content

Commit

Permalink
correct check_timeseries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alowis committed Aug 26, 2024
1 parent 08ac3a3 commit a904c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tsEasyParseNamedArgs <- function(args, argStruct) {
#'
#' @importFrom lubridate year
#' @export
check_timeserie2=function(timeseries,yro){
check_timeserie=function(timeseries,yro){
ts_years <- as.integer((lubridate::year(timeseries)))
year_check <- yro %in% ts_years
runs <- rle(year_check)
Expand Down

0 comments on commit a904c12

Please sign in to comment.