Skip to content

Commit 3725810

Browse files
authored
document that main arguments are captured as quosures (#918)
1 parent 9dcfcf0 commit 3725810

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+289
-0
lines changed

R/auto_ml.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#' @param engine A single character string specifying what computational engine
1818
#' to use for fitting.
1919
#'
20+
#' @templateVar modeltype auto_ml
2021
#' @template spec-details
2122
#'
2223
#' @template spec-references

R/bag_mars.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#'
1515
#' @inheritParams mars
1616
#'
17+
#' @templateVar modeltype bag_mars
1718
#' @template spec-details
1819
#'
1920
#' @template spec-references

R/bag_mlp.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#'
1313
#' @inheritParams mlp
1414
#'
15+
#' @templateVar modeltype bag_mlp
1516
#' @template spec-details
1617
#'
1718
#' @template spec-references

R/bag_tree.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#' factor is the minority class. If this is not the case, values between zero
1717
#' and one can be used to bias to the second level of the factor.
1818
#'
19+
#' @templateVar modeltype bag_tree
1920
#' @template spec-details
2021
#'
2122
#' @template spec-references

R/bart.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#' terminal node for different values of these parameters.
3636
#'
3737
#'
38+
#' @templateVar modeltype bart
3839
#' @template spec-details
3940
#'
4041
#' @template spec-references

R/boost_tree.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#' @param stop_iter The number of iterations without improvement before
4040
#' stopping (specific engines only).
4141
#'
42+
#' @templateVar modeltype boost_tree
4243
#' @template spec-details
4344
#'
4445
#' @template spec-references

R/c5_rules.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
#'
3131
#' @references Quinlan R (1993). _C4.5: Programs for Machine Learning_. Morgan
3232
#' Kaufmann Publishers.
33+
#'
34+
#' @templateVar modeltype C5_rules
3335
#' @template spec-details
3436
#'
3537
#' @template spec-references

R/cubist_rules.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#' where `t` is the training set prediction and `w` is a weight that is inverse
5151
#' to the distance to the neighbor.
5252
#'
53+
#' @templateVar modeltype cubist_rules
5354
#' @template spec-details
5455
#'
5556
#' @template spec-references

R/decision_tree.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#' @param min_n An integer for the minimum number of data points
2020
#' in a node that are required for the node to be split further.
2121
#'
22+
#' @templateVar modeltype decision_tree
2223
#' @template spec-details
2324
#'
2425
#' @template spec-references

R/discrim_flexible.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#' @param prod_degree The highest possible interaction degree.
1919
#' @param prune_method The pruning method.
2020
#'
21+
#' @templateVar modeltype discrim_flexible
2122
#' @template spec-details
2223
#'
2324
#' @template spec-references

0 commit comments

Comments
 (0)