I'm having trouble binding tsibbles after updating both the tsibble and dplyr.
The error Error: Theindexhas been dropped somehow. Please reconstruct tsibble. is generated when simply trying to bind two tsibbles.
library(tsibble)
library(tsibbledata)
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
I'm having trouble binding tsibbles after updating both the
tsibble
anddplyr
.Error: The
indexhas been dropped somehow. Please reconstruct tsibble.
is generated when simply trying to bind two tsibbles.gafa_2014 <- gafa_stock %>% filter(Date < as.Date("2015-01-01"))
gafa_rest <- gafa_stock %>% filter(Date >= as.Date("2015-01-01"))
bind_rows(gafa_2014, gafa_rest)
> Error: The
index
has been dropped somehow. Please reconstruct tsibble.Sessioninfo:
Created on 2020-03-16 by the reprex package (v0.3.0)