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

96 report time between in days #111

Merged
merged 3 commits into from
Mar 3, 2024
Merged

Conversation

ThomUK
Copy link
Owner

@ThomUK ThomUK commented Mar 3, 2024

Please complete the following information:

  1. A reference to the issue addressed by this pull-request:
    closes as.integer(.data$time_between) calculates time between dttms as seconds not days #96

  2. A description of the changes proposed in this PR:
    Converts internal processing of event data to POSIXct, not Date.
    Correctly sets the difftime unit to days (it was previously implicitly seconds).
    Minor change to remove event data that occurs after the report cutoff datetime.

  3. Add @mentions for the people who will review this PR:
    None.

Please confirm that you have:

  • Run devtools::test() and fixed all failing tests and warnings.
  • Added suppressMessages() to any test message which breaks the test progress UI.

Thank you for contributing to {SPCreporter}!!

@ThomUK ThomUK merged commit e716468 into main Mar 3, 2024
2 checks passed
@ThomUK ThomUK deleted the 96_report_time_between_in_days branch March 3, 2024 17:56
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.

as.integer(.data$time_between) calculates time between dttms as seconds not days
1 participant