Repository navigation
Style code and document - #458
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
style-doc-code-main
branch
10 times, most recently
from
November 10, 2026 17:28
8d14eda to
18ee542
Compare
github-actions
Bot
force-pushed
the
style-doc-code-main
branch
5 times, most recently
from
November 13, 2026 22:10
a6451f6 to
a911351
Compare
github-actions
Bot
force-pushed
the
style-doc-code-main
branch
from
November 16, 2026 15:01
a911351 to
92a4034
Compare
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for this formatting-focused maintenance change.
No open issues 🎉
What changed in this PR
This automated maintenance PR standardizes formatting across stockplotr’s R code, tests, and documentation. The changes preserve existing behavior while making the code more consistent.
Changes:
- Normalize indentation, spacing, assignment operators, and braces.
- Apply matching formatting updates to documentation examples and tests.
- Reorder
DESCRIPTIONfields without changing their values.
| File | Description |
|---|---|
vignettes/extract-sis-data.Rmd |
Normalize the final newline. |
tests/testthat/test-table_landings.R |
Normalize the final newline. |
tests/testthat/test-save_all_plots.R |
Format tests and add conditional braces. |
tests/testthat/test-plot_spr.R |
Remove trailing whitespace. |
tests/testthat/test-plot_recruitment.R |
Remove a trailing blank line. |
tests/testthat/test-plot_natural_mortality.R |
Remove trailing whitespace. |
tests/testthat/test-extract_sis_data.R |
Format calls and add conditional braces. |
tests/testthat/test-export_rda.R |
Normalize test indentation and spacing. |
tests/testthat/test-convert_output.R |
Normalize argument and comment spacing. |
tests/testthat/test-check_data.R |
Format multiline matrix arguments. |
tests/testthat/helper-test_functions.R |
Format helper code and conditional blocks. |
R/utils_rda.R |
Format export helpers and documentation. |
R/utils_plot.R |
Normalize reference-line code indentation. |
R/table_total_catch.R |
Format filtering calls and whitespace. |
R/table_projections.R |
Format examples and table-building code. |
R/table_landings.R |
Format examples, comments, and whitespace. |
R/table_index.R |
Normalize export-call indentation. |
R/table_biomass_abundance_catch.R |
Format filtering and export arguments. |
R/save_all_plots.R |
Format export loop, assignments, and documentation. |
R/plot_stock_recruitment.R |
Normalize indentation and argument spacing. |
R/plot_spr.R |
Format plotting calls and conditionals. |
R/plot_spawning_biomass.R |
Normalize documentation and export spacing. |
R/plot_selectivity.R |
Normalize whitespace and export arguments. |
R/plot_recruitment.R |
Remove trailing whitespace. |
R/plot_recruitment_deviations.R |
Normalize export argument spacing. |
R/plot_natural_mortality.R |
Normalize whitespace and export arguments. |
R/plot_landings.R |
Normalize whitespace and export arguments. |
R/plot_fishing_mortality.R |
Normalize whitespace and export arguments. |
R/plot_discard.R |
Normalize whitespace and export arguments. |
R/plot_catch_at_age.R |
Normalize whitespace and export arguments. |
R/plot_biomass.R |
Normalize export spacing and blank lines. |
R/plot_biomass_at_age.R |
Normalize whitespace and export arguments. |
R/plot_abundance_at_age.R |
Normalize whitespace and export arguments. |
R/extract_sis_data.R |
Format extraction blocks, calls, and documentation. |
R/data.R |
Remove documentation trailing whitespace. |
R/convert_output.R |
Normalize indentation and argument spacing. |
R/conout_ss3.R |
Normalize converter indentation and whitespace. |
R/conout_rceattle.R |
Normalize converter indentation and whitespace. |
R/conout_bam.R |
Normalize converter indentation and whitespace. |
R/add_caption_alt_text.R |
Remove code and documentation trailing whitespace. |
man/table_projections.Rd |
Match formatted source examples. |
man/table_landings.Rd |
Match formatted source examples. |
man/save_all_plots.Rd |
Remove example trailing whitespace. |
DESCRIPTION |
Move Remotes after VignetteBuilder. |
data-raw/DATASET_RCEATTLE.R |
Normalize assignment syntax and call formatting. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-generated by doc-and-style-r.yml