Skip to content

Commit 8adb5cc

Browse files
hfricktopepo
andauthored
switch to hardhat's version of contr_one_hot() (#1239)
Co-authored-by: ‘topepo’ <[email protected]>
1 parent 6e0983f commit 8adb5cc

10 files changed

+8
-339
lines changed

DESCRIPTION

+1-1
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

+1
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

-52
This file was deleted.

R/reexports.R

+4
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

-93
This file was deleted.

man/reexports.Rd

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/rmd/one-hot.Rmd

-47
This file was deleted.

man/rmd/one-hot.md

-78
This file was deleted.

tests/testthat/_snaps/contr_one_hot.md

-48
This file was deleted.

tests/testthat/test-contr_one_hot.R

-19
This file was deleted.

0 commit comments

Comments
 (0)