remove_estimator: Remove a registered estimator

View source: R/registry.R

remove_estimatorR Documentation

Remove a registered estimator

Description

Remove a registered estimator

Usage

remove_estimator(method, missing_ok = FALSE)

Arguments

method

A registered method name or alias. Names are case-insensitive; spaces, hyphens, and periods are normalized to underscores.

missing_ok

Logical. If TRUE, silently do nothing when method is not registered.

Value

Invisibly returns the removed registration, or NULL when missing_ok = TRUE and no registration exists.

Examples

temp_fitter <- function(data, ...) data
register_estimator("temporary", temp_fitter)
remove_estimator("temporary")
remove_estimator("temporary", missing_ok = TRUE)

idiographic documentation built on Aug. 4, 2026, 1:07 a.m.