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

0029 feedback create iso8601 #33

Merged
merged 24 commits into from
Feb 8, 2024
Merged

Conversation

ramiromagno
Copy link
Collaborator

@ramiromagno ramiromagno commented Dec 13, 2023

Thank you for your Pull Request! We have developed this task checklist from the
Development Process
Guide

to help with the final steps of the process. Completing the below tasks helps to
ensure our reviewers can maximize their time on your code as well as making sure
the oak codebase remains robust and consistent.

Please check off each taskbox as an acknowledgment that you completed the task
or check off that it is not relevant to your Pull Request. This checklist is
part of the Github Action workflows and the Pull Request will not be merged into
the devel branch until you have checked off each task.

  • Place Closes #<insert_issue_number> into the beginning of your Pull z
    Request Title (Use Edit button in top-right if you need to update)
  • Code is formatted according to the
    tidyverse style guide. Run
    styler::style_file() to style R and Rmd files
  • Updated relevant unit tests or have written new unit tests, which should
    consider realistic data scenarios and edge cases, e.g. empty datasets, errors,
    boundary cases etc. - See
    Unit Test Guide
  • If you removed/replaced any function and/or function parameters, did you
    fully follow the
    deprecation guidance?
  • Update to all relevant roxygen headers and examples, including keywords
    and families. Refer to the
    categorization of functions to tag appropriate keyword/family.
  • Run devtools::document() so all .Rd files in the man folder and the
    NAMESPACE file in the project root are updated appropriately
  • Address any updates needed for vignettes and/or templates
  • Update NEWS.md if the changes pertain to a user-facing function (i.e. it
    has an @export tag) or documentation aimed at users (rather than developers)
  • Build oak site pkgdown::build_site() and check that all affected
    examples are displayed correctly and that all new functions occur on the "Reference" page.
  • Address or fix all lintr warnings and errors - lintr::lint_package()
  • Run R CMD check locally and address all errors and warnings - devtools::check()
  • Link the issue in the Development Section on the right hand side.
  • Address all merge conflicts and resolve appropriately
  • Pat yourself on the back for a job well done! Much love to your accomplishment!

There was a bug that could lead `assert_capture_matrix()` to return its output (matrix) with columns out of order. This is now ensured.
The `problems()` is introduced that allows easy retrieval of what went wrong with the parsing by `create_iso8601()`
Copy link

github-actions bot commented Dec 13, 2023

Code Coverage

Package Line Rate Health
sdtm.oak 84%
Summary 84% (281 / 334)

One more example about the `problems()` function.
…he date/time components

Previously, `create_iso8601()` would not trigger a warning if at least one of the date, time or date-time components parsed successfully. Now it is enough for one single component to fail at parsing for warnings to be triggered. This is following the request: #33 (comment).
@ramiromagno ramiromagno linked an issue Jan 17, 2024 that may be closed by this pull request
Copy link
Collaborator

@edgar-manukyan edgar-manukyan left a comment

Choose a reason for hiding this comment

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

Thanks so much @ramiromagno, works like a charm 🙏

galachad and others added 2 commits January 18, 2024 07:18
Merge branch 'update-links-docs' into 0029_feedback_create_iso8601

# Conflicts:
#	.github/CONTRIBUTING.md
@ramiromagno ramiromagno self-assigned this Jan 18, 2024
@ramiromagno ramiromagno added the enhancement New feature or request label Jan 18, 2024
@ramiromagno
Copy link
Collaborator Author

ramiromagno commented Jan 18, 2024

I have just integrated Adam's recent commits on the hyperlinks' update, and the Links Workflow is passing now 🚀

So only the Test Coverage and the Roxygen workflows fail now: see issue #35.

@ramiromagno
Copy link
Collaborator Author

Hello @rammprasad and @galachad:

Now that all checks are passing, could you review this PR now?

@edgar-manukyan
Copy link
Collaborator

@galachad, can we please get your blessing before we merge?

Merge remote-tracking branch 'origin/main' into 0029_feedback_create_iso8601

# Conflicts:
#	.github/CONTRIBUTING.md
Fixes the NR CMD check NOTE:
  ❯ checking DESCRIPTION meta-information ... NOTE
  Malformed Description field: should contain one or more complete sentences.
@ramiromagno ramiromagno merged commit 8aed148 into main Feb 8, 2024
15 checks passed
@ramiromagno ramiromagno deleted the 0029_feedback_create_iso8601 branch February 8, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

FR: Support feedback for failed parsing in create_iso8601()
3 participants