@@ -1054,11 +1054,11 @@ get_encoding <- function(model) {
1054
1054
# ' based on which parsnip-related packages are loaded by the user.
1055
1055
# '
1056
1056
# ' These functions can be used to make dynamic lists of documentation help
1057
- # ' files. \pkg{parsnip} uses these, along with files contained in `man/rmd`
1058
- # ' containing expanded documentation, for specific model/engine combinations.
1057
+ # ' files. \pkg{parsnip} uses these along with files in `man/rmd` which
1058
+ # ' contain expanded documentation for specific model/engine combinations.
1059
1059
# ' [find_engine_files()] looks for files that have the pattern
1060
1060
# ' `details_{model}_{engine}.Rd` to link to. These files are generated by files
1061
- # ' named `man/rmd/details_ {model}_{engine}.Rmd`. `make_engine_list()` creates a
1061
+ # ' named `man/rmd/{model}_{engine}.Rmd`. `make_engine_list()` creates a
1062
1062
# ' list seen at the top of the model Rd files while `make_seealso_list()`
1063
1063
# ' populates the list seen in "See Also" below. See the details section.
1064
1064
# '
@@ -1083,18 +1083,18 @@ get_encoding <- function(model) {
1083
1083
# '
1084
1084
# ' 1. Create an engine-specific R file in the `R` directory with the name
1085
1085
# ' `{model}_{engine}.R` (e.g. `boost_tree_C5.0.R`). This has a small amount of
1086
- # ' documentation, as well as the directive
1087
- # ' "`@includeRmd man/rmd/{model}_{engine}.Rmd details`".
1086
+ # ' documentation, as well as the directives "`@name details_{model}_{engine}`"
1087
+ # ' and "`@includeRmd man/rmd/{model}_{engine}.Rmd details`".
1088
1088
# '
1089
- # ' 1 . Copy the file in \pkg{parsnip} that is in `man/rmd/setup.Rmd` and put
1089
+ # ' 2 . Copy the file in \pkg{parsnip} that is in `man/rmd/setup.Rmd` and put
1090
1090
# ' it in the same place in your package.
1091
1091
# '
1092
- # ' 1 . Write your own `man/rmd/{model}_{engine}.Rmd` file. This can include
1092
+ # ' 3 . Write your own `man/rmd/{model}_{engine}.Rmd` file. This can include
1093
1093
# ' packages that are not listed in the DESCRIPTION file. Those are only
1094
1094
# ' required when the documentation file is created locally (probably using
1095
- # ' [devtools::document()].
1095
+ # ' [devtools::document()]) .
1096
1096
# '
1097
- # ' 1 . Run [devtools::document()] so that the Rmd content is included in the
1097
+ # ' 4 . Run [devtools::document()] so that the Rmd content is included in the
1098
1098
# ' Rd file.
1099
1099
# '
1100
1100
# ' The examples in \pkg{parsnip} can provide guidance for how to organize
0 commit comments