Skip to content

remove unnecessary quotes in re-registration error message #1201

@simonpcouch

Description

@simonpcouch

Some "" that don't appear to need to be there.

Code
set_fit(model = "bart", eng = "dbarts", mode = "regression", value = list(
interface = "data.frame", data = c(x = "x.train", y = "y.train"), protect = c(
"x", "y"), func = c(pkg = "dbarts", fun = "bart"), defaults = list(verbose = TRUE,
keeptrees = TRUE, keepcall = FALSE)))
Condition
Error in `set_fit()`:
! The combination of engine `dbarts` and mode `regression` "" already has fit data for model `bart` and the new information being registered is different.

Noticed this in the transition to snapshot testing in #1190.

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