Skip to content

Commit 580f9b5

Browse files
committed
Make new pages for augment, varying_args
1 parent 98a84e3 commit 580f9b5

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

R/augment.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#' @param x A `model_fit` object produced by [fit()] or [fit_xy()].
1212
#' @param new_data A data frame or matrix.
1313
#' @param ... Not currently used.
14+
#' @rdname augment
1415
#' @export
1516
#' @examples
1617
#' car_trn <- mtcars[11:32,]

R/varying.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#'
33
#' [varying()] is used when a parameter will be specified at a later date.
44
#' @export
5+
#' @keywords internal
56
varying <- function() {
67
quote(varying())
78
}
@@ -58,6 +59,7 @@ generics::varying_args
5859
#' varying_args()
5960
#'
6061
#' @importFrom purrr map map_lgl
62+
#' @rdname varying_args
6163
#' @export
6264
varying_args.model_spec <- function(object, full = TRUE, ...) {
6365

@@ -94,7 +96,7 @@ varying_args.model_spec <- function(object, full = TRUE, ...) {
9496

9597
#' @importFrom purrr map2_dfr map_chr
9698
#' @export
97-
#' @rdname varying_args.model_spec
99+
#' @rdname varying_args
98100
varying_args.recipe <- function(object, full = TRUE, ...) {
99101

100102
steps <- object$steps
@@ -108,7 +110,7 @@ varying_args.recipe <- function(object, full = TRUE, ...) {
108110

109111
#' @importFrom purrr map map_lgl
110112
#' @export
111-
#' @rdname varying_args.model_spec
113+
#' @rdname varying_args
112114
varying_args.step <- function(object, full = TRUE, ...) {
113115

114116
# Unique step id

_pkgdown.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ reference:
4848
- multi_predict
4949
- parsnip_addin
5050
- predict.model_fit
51+
- reexports
5152
- repair_call
5253
- set_args
5354
- set_engine
5455
- set_mode
5556
- show_engines
5657
- tidy.model_fit
5758
- translate
58-
- starts_with("varying")
59+
- varying_args.model_spec
5960

6061
- title: Developer Tools
6162
contents:
File renamed without changes.

man/varying.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.
File renamed without changes.

0 commit comments

Comments
 (0)