diff --git a/DESCRIPTION b/DESCRIPTION index 9c61b19..725b9a2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -16,7 +16,7 @@ License: MIT + file LICENSE Encoding: UTF-8 LazyData: false Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 URL: https://www.spsanderson.com/healthyR.ts/, https://github.com/spsanderson/healthyR.ts BugReports: https://github.com/spsanderson/healthyR.ts/issues Imports: diff --git a/R/ts_fcst_sim.R b/R/ts-fcst-sim.R similarity index 100% rename from R/ts_fcst_sim.R rename to R/ts-fcst-sim.R diff --git a/R/ts_random_walk.R b/R/ts-random-walk.R similarity index 98% rename from R/ts_random_walk.R rename to R/ts-random-walk.R index e5e0e23..4aaa53f 100644 --- a/R/ts_random_walk.R +++ b/R/ts-random-walk.R @@ -98,8 +98,7 @@ ts_random_walk <- function( # Calculate cumulative product of each random walk dplyr::mutate(cum_y = .initial_value * cumprod(1 + y)) |> # Remove grouping to improve future performance - dplyr::ungroup() |> - dplyr::as_tibble() + dplyr::ungroup() # Attach descriptive attributes to tibble attr(df, ".mean") <- .mean diff --git a/man/ts_forecast_simulator.Rd b/man/ts_forecast_simulator.Rd index afab053..dbcd94b 100644 --- a/man/ts_forecast_simulator.Rd +++ b/man/ts_forecast_simulator.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/ts_fcst_sim.R +% Please edit documentation in R/ts-fcst-sim.R \name{ts_forecast_simulator} \alias{ts_forecast_simulator} \title{Time-series Forecasting Simulator} diff --git a/man/ts_random_walk.Rd b/man/ts_random_walk.Rd index 1d1bf73..d28ee4d 100644 --- a/man/ts_random_walk.Rd +++ b/man/ts_random_walk.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/ts_random_walk.R +% Please edit documentation in R/ts-random-walk.R \name{ts_random_walk} \alias{ts_random_walk} \title{Random Walk Function}