Skip to content

128 bug of format ae listing -- sex race age#130

Open
fukuhiro2023 wants to merge 2 commits intomainfrom
128-bug-of-format_ae_listing----sex-race-age
Open

128 bug of format ae listing -- sex race age#130
fukuhiro2023 wants to merge 2 commits intomainfrom
128-bug-of-format_ae_listing----sex-race-age

Conversation

@fukuhiro2023
Copy link
Copy Markdown
Collaborator

This PR fixes a bug by updating ae_listing() to prevent errors that occur when age, sex, or race values are unspecified in the listing.

Example:

devtools::load_all()
adsl <- forestly_adsl[1:100, ]
adae <- forestly_adae[1:100, ]
meta_forestly(
  dataset_adsl = adsl,
  dataset_adae = adae,
) |>
  prepare_ae_forestly(
    ae_listing_display = c("USUBJID", "BMIBL") # AGE, SEX or RACE is not included in a listing
  ) |>
  format_ae_forestly() |>
  ae_forestly()

Also, update roxygen2 params of prepare_ae_forestly() due to duplication. The removed params are covered by @inheritParames.

@fukuhiro2023 fukuhiro2023 linked an issue Apr 20, 2026 that may be closed by this pull request
@fukuhiro2023 fukuhiro2023 requested a review from wangben718 April 20, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug of format_ae_listing -- SEX, RACE, AGE

1 participant