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

Only retain hard dependencies from pre-commit hooks #186

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

vedhav
Copy link
Contributor

@vedhav vedhav commented Aug 29, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2023

badge

Code Coverage Summary

Filename                   Stmts    Miss  Cover    Missing
-----------------------  -------  ------  -------  --------------------------------------------
R/basic_table_args.R          23       0  100.00%
R/draggable_buckets.R         82      82  0.00%    57-152
R/get_dt_rows.R               13      13  0.00%    27-39
R/ggplot2_args.R              49       0  100.00%
R/include_css_js.R             7       1  85.71%   17
R/optionalInput.R            225     182  19.11%   87-362, 414, 465, 471, 486-499
R/panel_group.R               90      90  0.00%    12-132
R/plot_with_settings.R       382      21  94.50%   272-285, 344-345, 356-357, 607-608, 610, 612
R/standard_layout.R           35       0  100.00%
R/table_with_settings.R      173       1  99.42%   79
R/utils.R                     11       1  90.91%   7
R/verbatim_popup.R            99      49  50.51%   63-78, 104-105, 107, 115-143, 164
R/white_small_well.R           7       7  0.00%    18-24
TOTAL                       1196     447  62.63%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: 0231341

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2023

Unit Tests Summary

    1 files    10 suites   20s ⏱️
101 tests 101 ✔️ 0 💤 0
208 runs  208 ✔️ 0 💤 0

Results for commit 30af8e8.

♻️ This comment has been updated with latest results.

@vedhav vedhav requested a review from a team August 29, 2023 13:27
Copy link
Contributor

@donyunardi donyunardi left a comment

Choose a reason for hiding this comment

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

Tried to trigger the hooks and I got some warnings:

I think we need to add rtables.

@vedhav
Copy link
Contributor Author

vedhav commented Aug 30, 2023

Thanks for catching this @donyunardi. Since we are using rtables inside the package functions it should be an Imports dependency in the DESCRIPTION file too right?

@pawelru
Copy link
Contributor

pawelru commented Aug 30, 2023

Thanks for catching this @donyunardi. Since we are using rtables inside the package functions it should be an Imports dependency in the DESCRIPTION file too right?

See #154. Let me also summon @m7pr who analysed this already.

@vedhav vedhav requested a review from donyunardi August 30, 2023 11:06
@m7pr
Copy link
Contributor

m7pr commented Aug 30, 2023

Hey, commented in #154 . Having second thoughts, I would bring back rtables to Imports. I never had any strong preference towards any approach (Suggests nor Imports) but it looks like rtables is used in 3 functions, and this Suggests trick is bringing more issues than it actually helps.

Copy link
Contributor

@donyunardi donyunardi left a comment

Choose a reason for hiding this comment

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

LGTM!

I'm approving this but can you please add NEWS.md to show that we're moving rtables back to Imports?

@vedhav vedhav merged commit fb89472 into main Aug 31, 2023
23 checks passed
@vedhav vedhav deleted the 471-precommit-hooks-with-hard-deps@main branch August 31, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants