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

checks for missing soc and ae in complete_ae_data #212

Merged
merged 6 commits into from
Nov 17, 2023

Conversation

shannonpileggi
Copy link
Owner

@shannonpileggi shannonpileggi commented Nov 16, 2023

What changes are proposed in this pull request?

Added errors and messaging for different types of missing soc & ae in complete_ae_data, along with
corresponding tests.

If there is an GitHub issue associated with this pull request, please provide link.

closes #204


Checklist for PR reviewer

  • Ensure all package dependencies are installed by running renv::install()
  • PR branch has pulled the most recent updates from main branch. Ensure the pull request branch and your local version match and both have the latest updates from the main branch.
  • If a new function was added, function included in _pkgdown.yml
  • If a bug was fixed, a unit test was added for the bug check
  • Run pkgdown::build_site(). Check the R console for errors, and review the rendered website.
  • Code coverage is suitable for any new functions/features. Review coverage with covr::report(). Before you run, set Sys.setenv(NOT_CRAN="true") and begin in a fresh R session without any packages loaded.
  • R CMD Check runs without errors, warnings, and notes
  • usethis::use_spell_check() runs with no spelling errors in documentation
  • Has NEWS.md been updated with the changes from this pull request under the heading "# gtreg (development version)". If there is an issue associated with the pull request, reference it in parentheses at the end update (see NEWS.md for examples).
  • Has the version number been incremented using usethis::use_version(which = "dev")
  • Approve Pull Request
  • Merge the PR. Please use "Squash and merge".

Copy link
Collaborator

@ddsjoberg ddsjoberg left a comment

Choose a reason for hiding this comment

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

Couple of questions! :) Looks great

R/complete_ae_data.R Outdated Show resolved Hide resolved
R/complete_ae_data.R Outdated Show resolved Hide resolved
tests/testthat/test-complete_ae_data.R Show resolved Hide resolved
@shannonpileggi
Copy link
Owner Author

ok @ddsjoberg, feedback addressed and checks are passing

Copy link
Collaborator

@ddsjoberg ddsjoberg left a comment

Choose a reason for hiding this comment

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

Looks great!

@shannonpileggi shannonpileggi merged commit d59e805 into main Nov 17, 2023
10 checks passed
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.

messaging for missing inputs
2 participants