check_factory_dots: Check that no dots-argument is misspelled

View source: R/function-factory-helpers.R

check_factory_dotsR Documentation

Check that no dots-argument is misspelled

Description

check_factory_dots() is called within each main function factory: function_map(), function_map_seq(), and function_map_total_n().

Usage

check_factory_dots(fun, fun_name_scalar, ...)

Arguments

fun

Function applied by the function factory.

fun_name_scalar

String (length 1). Name of fun.

...

Arguments passed by the factory-made function's user to fun.

Details

For the fun_name_scalar argument, the function requires the following line in the entry area (i.e., the part of the function factory before the first version of the factory-made function is created): fun_name <- deparse(substitute(.fun))

Value

No return value; might throw an error.


scrutiny documentation built on Aug. 23, 2025, 1:12 a.m.