Add @param output_format An optional argument which allows to choose output format between "list" and "tsibble" in R file.
By setting the parameter output_format, generate_ts(), generate_msts(), generate_ts_with_target() , generate_ts_with_target_ts () now has an option to transform their time series output into a tsibble format. Without setting the parameter, it would keep output as default setting, list format.
importFrom(tsibble,as_tsibble) in Namespace file
add tsibble as import package in Description file
To avoid knit problem, change initial knitr option settings in vignette.
(i.e. Delete the following codes
original <- options("tibble.print_min")
options(tibble.print_min = 5)
options(tibble.print_min = original))
Then ts data don't have to do with first saving it to a variable x. Instead, they can knit output directly after writing out the function.
By setting the parameter output_format, generate_ts(), generate_msts(), generate_ts_with_target() , generate_ts_with_target_ts () now has an option to transform their time series output into a tsibble format. Without setting the parameter, it would keep output as default setting, list format.
importFrom(tsibble,as_tsibble) in Namespace file add tsibble as import package in Description file
To avoid knit problem, change initial knitr option settings in vignette. (i.e. Delete the following codes original <- options("tibble.print_min") options(tibble.print_min = 5) options(tibble.print_min = original))
Then ts data don't have to do with first saving it to a variable x. Instead, they can knit output directly after writing out the function.