With rsample version 1.2.0, the row names are reindexed from one instead of being a subset of the original row names. My original row names are characters, such as abc_1, fgh_23, wht_5, and so on.
In my situation, I need to keep track of those (character) row names. Can I have assurance that the sequence of reindexing, for example, abc_1 = 1, fgh_23 = 2, wht_5 = 3, and so on, will not be mixed?"
Could you make a minimal reproducible example to illustrate, please? I'm not quite sure what kind of assurance exactly you're looking for.
That said, the tidyverse and tidymodels generally work best when all relevant information is inside of a data frame. So if you need those row names, it'd probably be best to include them in the data frame if you want to leverage more of tidymodels/tidyverse than rsample. You can do that via tibble::rownames_to_column():