Skip to content

Commit

Permalink
Merge pull request #437 from tidymodels/val-rset-traceable
Browse files Browse the repository at this point in the history
make origin of validation `rset` traceable
  • Loading branch information
hfrick authored Jul 26, 2023
2 parents afc4416 + 3a4a503 commit 46de181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rsample
Title: General Resampling Infrastructure
Version: 1.1.1.9000
Version: 1.1.1.9001
Authors@R: c(
person("Hannah", "Frick", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6049-5258")),
Expand Down
1 change: 1 addition & 0 deletions R/validation_set.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ validation_set <- function(split, ...) {
class(val_split) <- c("val_split", "rsplit")

val_att <- attr(split, "val_att")
val_att[["origin_3way"]] <- TRUE

new_rset(
splits = list(val_split),
Expand Down

0 comments on commit 46de181

Please sign in to comment.