I'm going to make a recipe method for train and don't want to duplicate code.
Contributor guide
Tech stack
r
Domain
backend
Issue type
refactor
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-2 days
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
R programmingcaret package basics
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
50
Research direction
The issue requires extracting the standard checks in train.default (lines 237-302) into reusable modules. The researcher should examine those lines to understand the current validation logic, then design a modular structure that can be shared with a future recipe method. No existing PRs or comments provide additional context.
make standard checks in `train.default` into modules · topepo/caret#633 | Good First Issue