diff --git a/DESCRIPTION b/DESCRIPTION index 3d9f728..287712d 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -25,6 +25,6 @@ Suggests: knitr, rmarkdown, tinytest -RoxygenNote: 7.3.3 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr +Config/roxygen2/version: 8.0.0 diff --git a/R/RcppExports.R b/R/RcppExports.R index 6b64a4c..e6ddaf2 100644 --- a/R/RcppExports.R +++ b/R/RcppExports.R @@ -6,7 +6,7 @@ #' Fill `NA` with last non-NA element. #' @inheritParams runner #' @param run_for_first If first elements are filled with `NA`, `run_for_first = TRUE` -#' allows to fill all initial `NA` with nearest non-NA value. By default +#' allows filling all initial `NA` with nearest non-NA value. By default #' `run_for_first = FALSE`. #' @param only_within `NA` are replaced only if previous and next non-NA #' values are the same. By default `only_within = FALSE`. diff --git a/man/fill_run.Rd b/man/fill_run.Rd index 8ce101d..533724c 100755 --- a/man/fill_run.Rd +++ b/man/fill_run.Rd @@ -11,7 +11,7 @@ fill_run(x, run_for_first = FALSE, only_within = FALSE) input data.} \item{run_for_first}{If first elements are filled with \code{NA}, \code{run_for_first = TRUE} -allows to fill all initial \code{NA} with nearest non-NA value. By default +allows filling all initial \code{NA} with nearest non-NA value. By default \code{run_for_first = FALSE}.} \item{only_within}{\code{NA} are replaced only if previous and next non-NA diff --git a/src/fill_run.cpp b/src/fill_run.cpp index 4e43305..2d35e11 100755 --- a/src/fill_run.cpp +++ b/src/fill_run.cpp @@ -7,7 +7,7 @@ using namespace Rcpp; //' Fill `NA` with last non-NA element. //' @inheritParams runner //' @param run_for_first If first elements are filled with `NA`, `run_for_first = TRUE` -//' allows to fill all initial `NA` with nearest non-NA value. By default +//' allows filling all initial `NA` with nearest non-NA value. By default //' `run_for_first = FALSE`. //' @param only_within `NA` are replaced only if previous and next non-NA //' values are the same. By default `only_within = FALSE`.