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

tidyselect firendly #33

Merged
merged 3 commits into from
Oct 12, 2022
Merged

tidyselect firendly #33

merged 3 commits into from
Oct 12, 2022

Conversation

pawelru
Copy link
Contributor

@pawelru pawelru commented Oct 12, 2022

linked to https://github.com/insightsengineering/coredev-tasks/issues/398

R CMD TEST

==> devtools::test()

ℹ Loading dunlin
ℹ Testing dunlin
✔ | F W S  OK | Context
✔ |        22 | co_relevels [0.4s]                                                                                                                                                            
✔ |        14 | cut_by_group [0.1s]                                                                                                                                                           
✔ |        21 | dm_explicit_na [0.4s]                                                                                                                                                         
✔ |        17 | pivot [0.2s]                                                                                                                                                                  
⠏ |         0 | propagate                                                                                                                                                                     
Skipping: df1
Updating: df2 with: val
⠙ |         2 | propagate                                                                                                                                                                     
Skipping: df1
Updating: df2 with: val
✔ |         3 | propagate [0.4s]
✔ |        22 | reformat [0.9s]                                                                                                                                                               
✔ |        28 | utils                                                                                                                                                                         

══ Results ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
Duration: 2.5 s

[ FAIL 0 | WARN 0 | SKIP 0 | PASS 127 ]

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2022

🧪 $Test coverage: 98.83%$

Code Coverage Summary

Filename              Stmts    Miss  Cover    Missing
------------------  -------  ------  -------  ---------
R/co_relevels.R          17       0  100.00%
R/cut_by_group.R         13       0  100.00%
R/dm_explicit_na.R       35       1  97.14%   58
R/pivot.R                73       0  100.00%
R/propagate.R            22       0  100.00%
R/reformat.R             69       2  97.10%   57, 137
R/utils.R                27       0  100.00%
TOTAL                   256       3  98.83%

Results for commit: 7a8af8e

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2022

Unit Tests Summary

    1 files      7 suites   2s ⏱️
  35 tests   34 ✔️ 1 💤 0
127 runs  125 ✔️ 2 💤 0

Results for commit e8db9ce.

♻️ This comment has been updated with latest results.

@pawelru pawelru added the core label Oct 12, 2022
@pawelru pawelru merged commit c50963b into main Oct 12, 2022
@pawelru pawelru deleted the tidyselect_friendly branch October 12, 2022 16:17
dm_update_zoomed()
}

if (length(names_fact_col) > 0L) {
data <- data %>%
dm_zoom_to(!!tab_sym) %>%
mutate(across(names_fact_col, function(x) h_as_factor(x, na_level))) %>%
mutate(across(dplyr::all_of(names_fact_col), function(x) h_as_factor(x, na_level))) %>%

Choose a reason for hiding this comment

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

hmm odd you have dplyr::all_of but not dplyr::mutate...

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.

3 participants