Skip to content

Commit 8adb5cc

Browse files
hfricktopepo
andauthored
switch to hardhat's version of contr_one_hot() (#1239)
Co-authored-by: ‘topepo’ <mxkuhn@gmail.com>
1 parent 6e0983f commit 8adb5cc

File tree

10 files changed

+8
-339
lines changed

10 files changed

+8
-339
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Imports:
2525
ggplot2,
2626
globals,
2727
glue,
28-
hardhat (>= 1.4.0.9002),
28+
hardhat (>= 1.4.0.9003),
2929
lifecycle,
3030
magrittr,
3131
pillar,

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ importFrom(generics,tune_args)
377377
importFrom(generics,varying_args)
378378
importFrom(ggplot2,autoplot)
379379
importFrom(glue,glue_collapse)
380+
importFrom(hardhat,contr_one_hot)
380381
importFrom(hardhat,extract_fit_engine)
381382
importFrom(hardhat,extract_fit_time)
382383
importFrom(hardhat,extract_parameter_dials)

R/contr_one_hot.R

Lines changed: 0 additions & 52 deletions
This file was deleted.

R/reexports.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ generics::augment
3030
#' @export
3131
generics::required_pkgs
3232

33+
#' @importFrom hardhat contr_one_hot
34+
#' @export
35+
hardhat::contr_one_hot
36+
3337
#' @importFrom hardhat extract_spec_parsnip
3438
#' @export
3539
hardhat::extract_spec_parsnip

man/contr_one_hot.Rd

Lines changed: 0 additions & 93 deletions
This file was deleted.

man/reexports.Rd

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

man/rmd/one-hot.Rmd

Lines changed: 0 additions & 47 deletions
This file was deleted.

man/rmd/one-hot.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

tests/testthat/_snaps/contr_one_hot.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

tests/testthat/test-contr_one_hot.R

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)