Skip to content

Commit fa15c4c

Browse files
committed
rebuild docs
* yml frontmatter changes to reference * add internal keywords
1 parent 92865b2 commit fa15c4c

19 files changed

+57
-1
lines changed

R/blueprint-epi_recipe-default.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#' @details The `bake_dependent_roles` are automatically set to `epi_df` defaults.
1010
#' @return A recipe blueprint.
1111
#'
12+
#' @keywords internal
1213
#' @export
1314
new_epi_recipe_blueprint <-
1415
function(intercept = FALSE, allow_novel_levels = FALSE, fresh = TRUE,

R/df_mat_mul.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#' @return A data.frame with the new columns at the right. Original
1414
#' columns are removed.
1515
#' @export
16+
#' @keywords internal
1617
#'
1718
#' @examples
1819
#' df <- data.frame(matrix(1:200, ncol = 10))

R/epi_keys.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#' @param x a data.frame, tibble, or epi_df
44
#'
55
#' @return If an `epi_df`, this returns all "keys". Otherwise `NULL`
6+
#' @keywords internal
67
#' @export
7-
#'
88
epi_keys <- function(x) {
99
UseMethod("epi_keys")
1010
}

R/epi_recipe.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ epi_form2args <- function(formula, data, ...) {
215215
#' @param x An object.
216216
#' @return `TRUE` if the object inherits from `epi_recipe`.
217217
#'
218+
#' @keywords internal
218219
#' @export
219220
is_epi_recipe <- function(x) {
220221
inherits(x, "epi_recipe")

R/epi_shift.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#' @param keys Data frame, vector, or `NULL`. Additional grouping vars.
1111
#' @param out_name Chr. The output list will use this as a prefix.
1212
#'
13+
#' @keywords internal
14+
#'
1315
#' @return a list of tibbles
1416
epi_shift <- function(x, shifts, time_value, keys = NULL, out_name = "x") {
1517
if (!is.data.frame(x)) x <- data.frame(x)

R/epi_workflow.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ epi_workflow <- function(preprocessor = NULL, spec = NULL, postprocessor = NULL)
5757
#' @param x An object.
5858
#' @return `TRUE` if the object inherits from `epi_workflow`.
5959
#'
60+
#' @keywords internal
6061
#' @export
6162
is_epi_workflow <- function(x) {
6263
inherits(x, "epi_workflow")

R/extract.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#' @return An object originally passed as an argument to a layer or step
99
#' @export
1010
#'
11+
#' @keywords internal
12+
#'
1113
#' @examples
1214
#' f <- frosting() %>%
1315
#' layer_predict() %>%

R/grab_names.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#' be used to select a range of variables.
1313
#'
1414
#' @export
15+
#' @keywords internal
1516
#' @return a character vector
1617
#' @examples
1718
#' df <- data.frame(a = 1, b = 2, cc = rep(NA, 3))

R/utils_misc.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#' @param object A layer object passed to [slather()].
99
#' @param newname A string of variable names if the object doesn't contain a
1010
#' $name element
11+
#'
12+
#' @keywords internal
1113
check_pname <- function(res, preds, object, newname = NULL) {
1214
if (is.null(newname)) newname <- object$name
1315
new_preds_names <- colnames(preds)

_pkgdown.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,39 @@ url: https://cmu-delphi.github.io/epipredict/
22
template:
33
bootstrap: 5
44

5+
6+
reference:
7+
- title: Simple forecasters
8+
desc: Complete forecasters that produce reasonable baselines
9+
contents:
10+
- contains("flatline")
11+
- contains("arx")
12+
- title: Custom panel data forecasting workflows
13+
contents:
14+
- epi_recipe
15+
- epi_workflow
16+
- add_epi_recipe
17+
- predict.epi_workflow
18+
- augment.epi_workflow
19+
- title: Epi recipe preprocessing steps
20+
contents:
21+
- starts_with("step_")
22+
- title: Forecast postprocessing
23+
desc: Create a series of postprocessing operations
24+
contents:
25+
- contains("frosting")
26+
- get_test_data
27+
- title: Frosting layers
28+
contents:
29+
- contains("layer")
30+
- contains("slather")
31+
- title: Utilities for quantile distribution processing
32+
contents:
33+
- dist_quantiles
34+
- extrapolate_quantiles
35+
- nested_quantiles
36+
- title: Included datasets
37+
contents:
38+
- case_death_rate_subset
39+
40+

man/check_pname.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/df_mat_mul.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/epi_keys.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/epi_shift.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/extract_argument.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/grab_names.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/is_epi_recipe.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/is_epi_workflow.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/new_epi_recipe_blueprint.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)