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

switch pipes from %>% to |> #310

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

switch pipes from %>% to |> #310

wants to merge 6 commits into from

Conversation

chrisorwa
Copy link
Collaborator

@chrisorwa chrisorwa commented Oct 29, 2024

This PR swaps the %>% to |> to match tidyverse style https://style.tidyverse.org/pipes.html#magrittr.

@chrisorwa chrisorwa linked an issue Oct 29, 2024 that may be closed by this pull request
@chrisorwa chrisorwa changed the title switch pipes from %>% to | switch pipes from %>% to |> Oct 29, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 45.75163% with 166 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
R/est.incidence.by.R 0.00% 67 Missing ⚠️
R/graph.curve.params.R 0.00% 14 Missing ⚠️
R/sim.cs.R 0.00% 14 Missing ⚠️
R/stratify_data.R 54.16% 11 Missing ⚠️
R/summary.seroincidence.by.R 0.00% 11 Missing ⚠️
R/prep_curve_params_for_array.R 0.00% 8 Missing ⚠️
R/autoplot.pop_data.R 30.00% 7 Missing ⚠️
R/autoplot.curve_params.R 0.00% 4 Missing ⚠️
R/check_parallel_cores.R 0.00% 3 Missing ⚠️
R/get_curve_params_one_antigen.R 0.00% 3 Missing ⚠️
... and 13 more
Files with missing lines Coverage Δ
R/add_point_to_graph.R 0.00% <ø> (ø)
R/as_curve_params.R 91.42% <100.00%> (ø)
R/as_noise_params.R 100.00% <100.00%> (ø)
R/as_pop_data.R 93.33% <100.00%> (ø)
R/check_pop_data.R 100.00% <100.00%> (ø)
R/df_to_array.R 76.47% <100.00%> (ø)
R/f_dev.r 94.11% <100.00%> (ø)
R/graph.decay.curves.R 0.00% <ø> (ø)
R/load_curve_params.R 100.00% <100.00%> (ø)
R/load_noise_params.R 100.00% <100.00%> (ø)
... and 29 more

Copy link

github-actions bot commented Oct 29, 2024

📖 https://ucd-serg.github.io/serocalculator/preview/pr310
Preview documentation for this PR (at commit 7b7f0ba)

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.

Switch to base R pipe |>
1 participant