Skip to content

Commit f8a8baa

Browse files
Handle text syntax for .period in features()
Ref #371
1 parent 9a1e6fd commit f8a8baa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

R/features.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ features_impl <- function(.tbl, .var, features, ...){
66
}
77
features <- map(squash(features), as_function)
88

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

1311
# Compute response
1412
key_dt <- key_data(.tbl)

0 commit comments

Comments
 (0)