dots_tbl_output: Handle dots for making table output

View source: R/utils.R

dots_tbl_outputR Documentation

Handle dots for making table output

Description

This is a helper function to transform ... from user-facing functions into arguments for make_tbl_output.

Usage

dots_tbl_output(...)

Arguments

...

Ellipsis, passed on from a higher function

Details

For non-empty but partially specified arguments, it adds the following defaults: lazy = TRUE, limit = Inf. For instance, if only limit = 3 is passed, make_tbl_output will return a lazily evaluated query. To safeguard against accidentally loading large queries into memory by only specifying lazy = FALSE, an error is thrown in this case.

Value

If ... is empty, returns NULL. Otherwise it converts ... into a named list with elements "lazy" and "limit".


f-hafner/magutils documentation built on Sept. 20, 2023, 5:05 a.m.