tidymodels / tidymodels/probably

Registered S3 method overwritten by 'butcher': `as.character.dev_topic()`

Open
#187 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upkeep
Dominant language
R
Stars
123
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Where is this coming from?

library(tidymodels)
library(tailor)

set.seed(1)
dat <- sim_regression(200)
split <- initial_split(dat)

rf_spec <- rand_forest(mode = "regression", trees = 20)
tlr <- tailor() |> adjust_numeric_calibration(method = "linear")
rf_wflow <- workflow(outcome ~ ., rf_spec, tlr)

# set aside data for calibration
set.seed(2)
i_split <- inner_split(split, .get_split_args(split))
i_analysis_dat <- analysis(i_split)
cal_dat <- assessment(i_split)

manual_fit <- fit(rf_wflow, data = i_analysis_dat, calibration = cal_dat)
#> Registered S3 method overwritten by 'butcher':
#>   method                 from    
#>   as.character.dev_topic generics

Created on 2025-07-16 with reprex v2.1.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the provided tidymodels and tailor reproduction to confirm when the registration warning appears during fit(). Trace whether the warning originates in probably or one of the loaded packages. Done means identifying the source of the overwritten method and documenting or correcting the appropriate package behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.