Skip to content

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

Description

@hfrick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    upkeepmaintenance, infrastructure, and similar

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions