Learn R Programming

maidr (version 0.1.2)

extract_from_scales_closure: Extract Format Configuration from scales Package Closure

Description

Inspects the closure environment of a scales label function to extract formatting parameters. This allows users to use scales:: functions directly without needing maidr:: wrappers.

Usage

extract_from_scales_closure(label_func)

Value

Format configuration list or NULL

Arguments

label_func

A label function (e.g., from scales::label_dollar)