Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 16, 2024
1 parent ea9486e commit 1dfe031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/data_partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
---

Code
str(data_partition(iris, proportion = 0.7, group = "Species", seed = 123))
str(data_partition(iris, proportion = 0.7, by = "Species", seed = 123))
Output
List of 2
$ p_0.7:'data.frame': 105 obs. of 6 variables:
Expand All @@ -109,7 +109,7 @@
---

Code
str(data_partition(iris, proportion = c(0.2, 0.5), group = "Species", seed = 123))
str(data_partition(iris, proportion = c(0.2, 0.5), by = "Species", seed = 123))
Output
List of 3
$ p_0.2:'data.frame': 30 obs. of 6 variables:
Expand Down

0 comments on commit 1dfe031

Please sign in to comment.