Skip to content

Commit

Permalink
Fix docs-example of init_dates_dataframe()
Browse files Browse the repository at this point in the history
  • Loading branch information
fabern committed Nov 26, 2024
1 parent f10dc78 commit 44e9d55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions R/init_dates_dataframe.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#' Creates a tibble with rows for each date from \code{'yrstart'} to \code{'yrend'}
#' in \code{'yyyy-mm-dd'} format. Intervals of dates are specified by argument
#'\code{'freq'}.
#' ddf <- init_dates_dataframe(2000, 2003, startmoy=1, startdoy=1,
#' freq="days", endmoy=12, enddom=31, noleap=FALSE)
#'
#' @param yrstart An integer defining the start year
#' of dates covered by the dataframe.
Expand All @@ -25,9 +27,6 @@
#'
#' @return A tibble with dates.
#'
#' @examples
#' ddf <- init_dates_dataframe( 2000, 2003, startmoy=1, startdoy=1,
#' freq="days", endmoy=12, enddom=31, noleap=FALSE )

init_dates_dataframe <- function(
yrstart,
Expand Down
8 changes: 3 additions & 5 deletions man/init_dates_dataframe.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 44e9d55

Please sign in to comment.