frame_dots

0th

Percentile

Extract dots

frame_dots() extracts dots from a frame and dots() extracts dots from its arguments. The _lsp() versions return a pairlist that is ready to be spliced into a call, while the regular versions return a regular list that is usually easier to work with.

Usage
frame_dots(frame = NULL)
frame_dots_lsp(frame = NULL)
dots(...)
dots_lsp(...)
Arguments
frame
The environment from which the dots should be retrieved. Can be a frame, an environment, or a formula from which to retrieve an environment. If not supplied, the calling frame is used.
...
Arguments to extract. Can be both forwarded dots and direct arguments.
Details

frame_dots() and frame_dots_lsp() never fail, even if the frame does not contain dots. Instead they return an empty list or NULL respectively.

Aliases
  • frame_dots
  • frame_dots_lsp
  • dots
  • dots_lsp
Documentation reproduced from package rlang, version 0.0.0.9000, License: GPL-3

Community examples

Looks like there are no examples yet.