Skip to content

Commit

Permalink
docs: add missing section for pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed May 2, 2024
1 parent e270e21 commit eb9042e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/yield-curve.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#' If `NULL`, then all available years are downloaded.
#' @returns A `data.frame()` with the following columns: `yearmonth`, `maturity`,
#' `yield`.
#' @family yield curve
#' @export
tr_hqm <- function(x = c("average", "end-of-month"), year = NULL) {
stopifnot(is_count_or_null(year), 1984L <= year, year <= 2028L)
Expand Down
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ reference:
- tr_long_term_rate
- tr_real_yield_curve
- tr_real_long_term

- subtitle: Corporate Bond Yield Curve
contents:
- tr_hqm
1 change: 1 addition & 0 deletions man/tr_hqm.Rd

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

0 comments on commit eb9042e

Please sign in to comment.