tools/build_site.R

# tools/build_site.R
# Rebuild the pkgdown documentation site and ensure the reference index catalog
# is not overwritten by the case-insensitive alias redirect for Index.html.

if (!requireNamespace("pkgdown", quietly = TRUE)) {
  stop("pkgdown package is required to build the site.", call. = FALSE)
}

pkgdown::build_site()
unlink("docs/reference/index.html", force = TRUE)
pkgdown::build_reference_index()

Try the yahoofinancer package in your browser

Any scripts or data that you put into this service are public.

yahoofinancer documentation built on Nov. 17, 2026, 9:06 a.m.