Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Independent Testing for n_subject.R #29

Closed
LittleBeannie opened this issue May 27, 2022 · 0 comments · Fixed by #64
Closed

Independent Testing for n_subject.R #29

LittleBeannie opened this issue May 27, 2022 · 0 comments · Fixed by #64
Assignees
Labels
independent test independent test

Comments

@LittleBeannie
Copy link
Collaborator

  • Test plan of n_subject:

    • if group = ... is not a factor, throw errors
    • if par = NULL, return the number of subjects in each group (take the r2rtf::r2rtf_adae dataset as an example)
    • if, say, par = AEDECOD, return the number of subject per group per AE (take the r2rtf::r2rtf_adae dataset as an example)
  • Test plan of avg_event:

    • if group = ... is not a factor, throw errors
    • if par = NULL, return the average number of events in each group (take the r2rtf::r2rtf_adae dataset as an example)
    • if, say, par = AEDECOD, return the average number of events per group per AE (take the r2rtf::r2rtf_adae dataset as an example)
  • Test plan of avg_duration

    • if group = ... is not a factor, throw errors
    • if par = NULL, return the average duration in each group (take the r2rtf::r2rtf_adae dataset as an example)
    • if, say, par = AEDECOD, return the average duration per group per AE (take the r2rtf::r2rtf_adae dataset as an example)
@LittleBeannie LittleBeannie added the independent test independent test label May 27, 2022
@wangben718 wangben718 linked a pull request Jul 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
independent test independent test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants