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

Parepare cran release #186

Merged
merged 10 commits into from
Apr 8, 2024
Merged

Parepare cran release #186

merged 10 commits into from
Apr 8, 2024

Conversation

wangben718
Copy link
Collaborator

No description provided.

NEWS.md Outdated
- Updated `format_ae_specific` to avoid warning when no comparison variables are
requested.
## New features
- `tlf_ae_summary()` and `tlf_ae_specific` now have a new argument `title` for a user-customized title.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tlf_ae_specific() should also have () for consistency

NEWS.md Outdated
- `tlf_ae_summary()` and `tlf_ae_specific` now have a new argument `title` for a user-customized title.
- Add new functions: `rate_compare_sum()`, `extend_ae_specific_subgroup()`, `prepare_ae_specific_subgroup()`, `format_ae_specific_subgroup()`, `tlf_ae_specific_subgroup()`, `extend_ae_summary_eaer()`,
`format_ae_exp_adj()` and `tlf_ae_exp_adj()`.
- Add `data/metalite_ae_adex.Rda`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For .rda, the convention is to use all lower case .rda. If you data file name actually ends with .Rda, you need to rename it.

NEWS.md Outdated
- Add new functions: `rate_compare_sum()`, `extend_ae_specific_subgroup()`, `prepare_ae_specific_subgroup()`, `format_ae_specific_subgroup()`, `tlf_ae_specific_subgroup()`, `extend_ae_summary_eaer()`,
`format_ae_exp_adj()` and `tlf_ae_exp_adj()`.
- Add `data/metalite_ae_adex.Rda`.
- Add new vignettes: 'Subgroup Analysis for Specific AE' and 'Exposure Adjusted Event Rate'.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't help to say the titles here. vignette("vignette-file-name") will get linked and clickable.

NEWS.md Outdated
`format_ae_exp_adj()` and `tlf_ae_exp_adj()`.
- Add `data/metalite_ae_adex.Rda`.
- Add new vignettes: 'Subgroup Analysis for Specific AE' and 'Exposure Adjusted Event Rate'.
- Add test cases for new functions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This belongs to "don't comment on the obvious" and thus should be removed.

NEWS.md Outdated
- Add `data/metalite_ae_adex.Rda`.
- Add new vignettes: 'Subgroup Analysis for Specific AE' and 'Exposure Adjusted Event Rate'.
- Add test cases for new functions.
- Add system organ class(SOC) information to `outdata` in `prepare_ae_specific()`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be styled as "System Organ Classes (SOC)" (title case and a whitespace)

- Add test cases for new functions.
- Add system organ class(SOC) information to `outdata` in `prepare_ae_specific()`

## Bug fixes
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a blank line between headings and content.

NEWS.md Outdated
- Add system organ class(SOC) information to `outdata` in `prepare_ae_specific()`

## Bug fixes
- Fix bug to avoid warning messages when no comparison variables are requested in `format_ae_specific()`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link the PR at the end of the sentences following https://style.tidyverse.org/news.html.

NEWS.md Outdated
- Fix bug to correctly assign treatment labels when a treatment variable has `NA`.

## Improvements
- Update Github Actions workflow.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github -> GitHub

NEWS.md Outdated
- Remove `R/to_mock.R` and `R/to_sentence.R`, and `to_mock()` and `to_sentence()` are moved to `R/utility.R`.
- Remove library calls from tests.
- Add `R/outdata.R` to control `outdata` object.
- Add an installation section to `README.Rd`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md

NEWS.md Outdated
- Remove library calls from tests.
- Add `R/outdata.R` to control `outdata` object.
- Add an installation section to `README.Rd`.
- Improve style and formatting for vignettes and codes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codes -> code

@wangben718
Copy link
Collaborator Author

Hi @fukuhiro2023 , could you please address these issues?

@fukuhiro2023
Copy link
Collaborator

Hi @wangben718 and @nanxstats , I have updated the NEWS.md based on the comments. Please kindly review it.

Copy link
Collaborator

@nanxstats nanxstats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for the update!

@nanxstats nanxstats merged commit 5360311 into main Apr 8, 2024
7 checks passed
@nanxstats nanxstats deleted the parepare-cran-release branch April 8, 2024 01:05
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.

4 participants