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

Extension to PR 993 #995

Merged
merged 13 commits into from
Dec 13, 2023
Merged

Conversation

vincentvanhees
Copy link
Member

@vincentvanhees vincentvanhees commented Dec 13, 2023

Extends code updates in PR #993 to g.getmeta because also that function did not effectively use the temperature data from the ad-hoc csv format.

I have tested this with:

  • Joanna's example
  • Joanna's example but with rmc.col.temp = c(), in order to simulate not having temperature

Additionally, I am updating the code coverage workflow file (.yml) to align with the latest template offered by https://github.com/r-lib/actions/blob/v2-branch/examples/test-coverage.yaml I do this because recently code coverage gives all kinds of redundant warnings about the test coverage dropping in certain commits. I think this is overkill for a package like GGIR. Coverage is nice to know and we will try to keep coverage high, but having these warnings with every commit is too much to worry about I think. Hopefully the new template removes this behaviour. => update: i found out that adding a codecov.yml file to root of the repo allows for configuring this behaviour.

Checklist before merging:

  • Existing tests still work (check by running the test suite, e.g. from RStudio).
  • Added tests (if you added functionality) or fixed existing test (if you fixed a bug).
  • Updated or expanded the documentation.
  • Updated release notes in inst/NEWS.Rd with a user-readable summary. Please, include references to relevant issues or PR discussions.
  • Added your name to the contributors lists in the DESCRIPTION file, if you think you made a significant contribution.

@vincentvanhees vincentvanhees changed the title Issue991 v3 tempcolumn adhoccsv calibration Extension to PR 993 Dec 13, 2023
@vincentvanhees vincentvanhees marked this pull request as ready for review December 13, 2023 11:05
@vincentvanhees vincentvanhees requested a review from l-k- December 13, 2023 11:06
@vincentvanhees vincentvanhees changed the base branch from issue991_v2_tempcolumn_adhoccsv_calibration to master December 13, 2023 13:56
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (d5bbd13) 78.43% compared to head (61bb99b) 78.45%.
Report is 1 commits behind head on master.

❗ Current head 61bb99b differs from pull request most recent head 2d38546. Consider uploading reports for the commit 2d38546 to get more accurate results

Files Patch % Lines
R/g.getmeta.R 42.85% 4 Missing ⚠️
R/convertEpochData.R 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #995      +/-   ##
==========================================
+ Coverage   78.43%   78.45%   +0.01%     
==========================================
  Files          99       99              
  Lines       13391    13384       -7     
==========================================
- Hits        10503    10500       -3     
+ Misses       2888     2884       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vincentvanhees
Copy link
Member Author

sorry, commit 61bb99b was not intended for this branch, but will leave it now as it will not do any harm.

@vincentvanhees
Copy link
Member Author

UPDATE: I am now investigating the codecov issue in a separate branch as I realise it is not practical to have that in this branch.

Copy link
Collaborator

@l-k- l-k- left a comment

Choose a reason for hiding this comment

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

looks good!

@vincentvanhees vincentvanhees merged commit 4e33a63 into master Dec 13, 2023
10 checks passed
@vincentvanhees vincentvanhees deleted the issue991_v3_tempcolumn_adhoccsv_calibration branch January 6, 2024 11:06
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.

2 participants