Skip to content

Commit a7cb1ea

Browse files
update process_.config to handle new configs from melodie change (#242)
1 parent 73eab0e commit a7cb1ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: stacks
22
Title: Tidy Model Stacking
3-
Version: 1.1.1.9000
3+
Version: 1.1.1.9001
44
Authors@R: c(
55
person("Simon", "Couch", , "[email protected]", role = c("aut", "cre")),
66
person("Max", "Kuhn", , "[email protected]", role = "aut"),

R/add_candidates.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,14 +514,14 @@ process_.config <- function(.config, df, name) {
514514

515515
.config_ <-
516516
gsub(
517-
pattern = c("Model|Recipe"),
517+
pattern = c("Model|Recipe|mod|post"),
518518
replacement = "",
519519
x = .config_,
520520
)
521521

522522
.config_ <-
523523
gsub(
524-
pattern = c("Preprocessor"),
524+
pattern = c("Preprocessor|pre"),
525525
replacement = "_",
526526
x = .config_,
527527
)

0 commit comments

Comments
 (0)