In timetk ,the result of function tk_make_weekend_sequence show nothing . Anyone can help? Thanks!
library(timetk)
weekends <- tk_make_weekend_sequence(
start_date = "2017-01-01",
end_date = "2017-12-31"
)
weekends
In timetk ,the result of function tk_make_weekend_sequence show nothing . Anyone can help? Thanks!
library(timetk)
weekends <- tk_make_weekend_sequence(
start_date = "2017-01-01",
end_date = "2017-12-31"
)
weekends
Copyright © 2021 Jogjafile Inc.

To fix this you need to set an English environment for the
"LC_TIME"Function
tk_make_weekend_sequenceuses alubridate::wdayfunction which work with your local language settings.The problem is triggered by the
filterin the last row. If you don't change"LC_TIME", weekday will be the abbreviation of the day name in your native language.