Skip to content

Should other functions pass down arguments via the args attribute? #483

@dragosmg

Description

@dragosmg

Currently ard_stack_hierarchical() passes down the by and variables arguments via the arg attribute. Should other functions take a similar approach? If yes, what should the arg attribute contain?

attr(result, "args") <- list(
by = by,
variables = variables,
include = include
)

Possible candidates for a similar treatment:

  • bind_ard() (if it can extract them from the individual ARDs)
  • individual ARDs (?)

I found the arg attribute useful when implementing some changes in shuffle_ard().

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions