Skip to content

inner_split() methods for initial validation splits#577

Merged
hfrick merged 4 commits into
mainfrom
inner_split-initial-val
Jul 9, 2025
Merged

inner_split() methods for initial validation splits#577
hfrick merged 4 commits into
mainfrom
inner_split-initial-val

Conversation

@hfrick

@hfrick hfrick commented Jul 9, 2025

Copy link
Copy Markdown
Member

closes #572

The inner split objects here don't inherit all the classes from the original object because inner splits are 2-way splits while the original objects are 3-way splits.

@hfrick
hfrick requested a review from Copilot July 9, 2025 09:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds support for inner splits on initial validation variants by implementing new S3 methods, updating argument extraction, documentation, and tests.

  • Introduced inner_split.initial_validation_split, inner_split.group_initial_validation_split, and inner_split.initial_validation_time_split in R/inner_split.R
  • Adjusted argument extraction in R/misc.R to handle validation splits
  • Added aliases/method entries in man/inner_split.Rd and NAMESPACE, plus corresponding tests in tests/testthat/test-inner_split.R

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/testthat/test-inner_split.R Added tests for initial validation, grouped validation, and time-based validation inner splits
man/inner_split.Rd Added aliases and \method entries for the new inner split variants
R/misc.R Special-cased val_att extraction for validation splits in split_unnamed
R/inner_split.R Implemented three new inner_split.* methods for validation splits
NAMESPACE Registered new S3 methods for validation inner splits

Comment thread R/misc.R
Comment thread R/inner_split.R
@hfrick
hfrick merged commit 3a51619 into main Jul 9, 2025
15 checks passed
@hfrick
hfrick deleted the inner_split-initial-val branch July 9, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inner_split() methods for initial_validation_split and friends

2 participants