Skip to content

Commit

Permalink
Handle text syntax for .period in features()
Browse files Browse the repository at this point in the history
Ref #371
  • Loading branch information
mitchelloharawild committed Oct 27, 2022
1 parent 9a1e6fd commit f8a8baa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/features.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ features_impl <- function(.tbl, .var, features, ...){
}
features <- map(squash(features), as_function)

if(is.null(dots$.period)){
dots$.period <- get_frequencies(NULL, .tbl, .auto = "smallest")
}
dots$.period <- get_frequencies(dots$.period, .tbl, .auto = "smallest")

# Compute response
key_dt <- key_data(.tbl)
Expand Down

0 comments on commit f8a8baa

Please sign in to comment.