Skip to content

Commit

Permalink
start calling xnew_data issue #40
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Jan 3, 2025
1 parent 7cd183a commit 671970e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/new-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ new_data <- function(
}

if(missing(ref) && missing(obs_only)) {
# TODO: use xnew_data(data, seq, .length_out = length_out)
args <- c(list(.data = data, .length_out = length_out), seq)
# TODO: make work when seq is specified
if(missing(seq)) {
return(do.call("xnew_data", args = args))
}
}

obs_only <- obs_only %>% unique()
Expand Down

0 comments on commit 671970e

Please sign in to comment.