We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debd618 commit c8ed20aCopy full SHA for c8ed20a
R/update.R
@@ -82,7 +82,7 @@ bind_tsibble <- function(data, template, position = c("before", "after")) {
82
}
83
tsbl_vars <- setdiff(c(index_var(template), key_vars(template)), data_cols)
84
if (position == "before") {
85
- res <- bind_cols(template[tsbl_vars], data)
+ res <- bind_cols(as_tibble(template)[tsbl_vars], data)
86
} else {
87
res <- bind_cols(data, template[tsbl_vars])
88
0 commit comments