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

276 create summary stats #300

Merged
merged 8 commits into from
Sep 25, 2023
Merged

276 create summary stats #300

merged 8 commits into from
Sep 25, 2023

Conversation

maciekbanas
Copy link
Member

Create get_*_stats functions as a bridge between pull_* and plots.
Plots have been refactored to be a generic gitstats_plot which takes as an input table classes repos_stats or commits_stats.
All comments and opinions are welcome.

New example workflow is in the vignette.

…ts` functions now prepare output of a `*_stats` classes which are handled by S3 methods of `gitstats_plots` generic. `Last_activity` column is now formatted accordingly on the stats level.
@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2023

Codecov Report

Patch coverage: 81.40% and project coverage change: +5.60% 🎉

Comparison is base (1081673) 75.40% compared to head (c97b96f) 81.00%.
Report is 126 commits behind head on devel.

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

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel     #300      +/-   ##
==========================================
+ Coverage   75.40%   81.00%   +5.60%     
==========================================
  Files          12       15       +3     
  Lines         992     1553     +561     
==========================================
+ Hits          748     1258     +510     
- Misses        244      295      +51     
Files Changed Coverage Δ
R/GQLQueryGitHub.R 81.81% <61.11%> (-14.11%) ⬇️
R/GitHost.R 62.65% <64.86%> (+17.75%) ⬆️
R/EngineGraphQLGitHub.R 78.82% <73.13%> (-5.44%) ⬇️
R/EngineGraphQLGitLab.R 79.34% <79.34%> (ø)
R/EngineRestGitHub.R 75.30% <81.54%> (+2.08%) ⬆️
R/GQLQueryGitLab.R 82.35% <82.35%> (ø)
R/EngineRestGitLab.R 83.10% <84.21%> (-2.74%) ⬇️
R/GitStats.R 77.85% <85.10%> (+12.06%) ⬆️
R/test_helpers.R 94.87% <90.47%> (+11.53%) ⬆️
R/EngineRest.R 94.87% <93.75%> (+1.22%) ⬆️
... and 5 more

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

@marcinkowskak
Copy link
Collaborator

Looks good, went through workflow without problems :)

@maciekbanas maciekbanas merged commit e28412d into devel Sep 25, 2023
0 of 3 checks passed
@maciekbanas maciekbanas deleted the 276-create-summary-stats branch September 25, 2023 12:11
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.

3 participants