pharmaverse / pharmaverse/rtables

Feature request: Add extra_args argument to `analyze()`

Open
#1,078 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
260
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Hi @gmbecker

Following up on our chat, it would be nice to have an additional extra_args argument in analyze() so that afun can receive its own set of arguments for different variables specified in vars.

Best,
Wojtek

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the analyze() entry point and trace how afun receives arguments for variables listed in vars. Determine how extra_args should provide different arguments per variable; done means analyze() accepts and forwards those arguments as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.