Skip to content

Commit 57629c4

Browse files
committed
minor fixes for submission
1 parent 1fd4e52 commit 57629c4

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

NEWS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ First CRAN release
198198
# parsnip 0.0.0.9003
199199

200200
* `regularization` was changed to `penalty` in a few models to be consistent with [this change](https://tidymodels.github.io/model-implementation-principles/standardized-argument-names.html#tuning-parameters).
201-
* If a mode is not chosen in the model specification, it is assigned at the time of fit. [51](https://github.com/tidyverse/parsnip/issues/51)
201+
* If a mode is not chosen in the model specification, it is assigned at the time of fit. [51](https://github.com/tidymodels/parsnip/issues/51)
202202
* The underlying modeling packages now are loaded by namespace. There will be some exceptions noted in the documentation for each model. For example, in some `predict` methods, the `earth` package will need to be attached to be fully operational.
203203

204204
# parsnip 0.0.0.9002
@@ -212,7 +212,7 @@ First CRAN release
212212

213213
# parsnip 0.0.0.9000
214214

215-
* The `fit` interface was previously used to cover both the x/y interface as well as the formula interface. Now, `fit()` is the formula interface and [`fit_xy()` is for the x/y interface](https://github.com/tidyverse/parsnip/issues/33).
215+
* The `fit` interface was previously used to cover both the x/y interface as well as the formula interface. Now, `fit()` is the formula interface and [`fit_xy()` is for the x/y interface](https://github.com/tidymodels/parsnip/issues/33).
216216
* Added a `NEWS.md` file to track changes to the package.
217-
* `predict` methods were [overhauled](https://github.com/tidyverse/parsnip/issues/34) to be [consistent](https://github.com/tidyverse/parsnip/issues/41).
217+
* `predict` methods were [overhauled](https://github.com/tidymodels/parsnip/issues/34) to be [consistent](https://github.com/tidymodels/parsnip/issues/41).
218218
* MARS was added.

R/aaa_models.R

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ pred_types <-
4545
#' @param name A single character value for a new symbol in the model environment.
4646
#' @param value A single value for a new value in the model environment.
4747
#' @keywords internal
48-
#' @references "Making a parsnip model from scratch"
49-
#' \url{https://tidymodels.github.io/parsnip/articles/articles/Scratch.html}
48+
#' @references "How to build a parsnip model"
49+
#' \url{https://www.tidymodels.org/learn/develop/models/}
5050
#' @examples
5151
#' # Access the model data:
5252
#' current_code <- get_model_env()
@@ -310,7 +310,6 @@ check_interface_val <- function(x) {
310310
#' `func` and `defaults`. See the package vignette "Making a
311311
#' `parsnip` model from scratch".
312312
#' @param pred_obj A list with elements `pre`, `post`, `func`, and `args`.
313-
#' See the package vignette "Making a `parsnip` model from scratch".
314313
#' @param type A single character value for the type of prediction. Possible
315314
#' values are: `class`, `conf_int`, `numeric`, `pred_int`, `prob`, `quantile`,
316315
#' and `raw`.
@@ -374,8 +373,8 @@ check_interface_val <- function(x) {
374373
#' _after_ `model.matrix()` is finished. This can be useful if the model
375374
#' function (e.g. `lm()`) automatically generates an intercept.
376375
#'
377-
#' @references "Making a parsnip model from scratch"
378-
#' \url{https://tidymodels.github.io/parsnip/articles/articles/Scratch.html}
376+
#' @references "How to build a parsnip model"
377+
#' \url{https://www.tidymodels.org/learn/develop/models/}
379378
#' @examples
380379
#' # set_new_model("shallow_learning_model")
381380
#'

man/get_model_env.Rd

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

man/set_new_model.Rd

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)