Skip to content

Style code and document - #458

Merged
sbreitbart-NOAA merged 1 commit into
mainfrom
style-doc-code-main
Nov 16, 2026
Merged

sbreitbart-NOAA merged 1 commit into
mainfrom
style-doc-code-main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Auto-generated by doc-and-style-r.yml

@github-actions
github-actions Bot force-pushed the style-doc-code-main branch 10 times, most recently from 8d14eda to 18ee542 Compare November 10, 2026 17:28
@github-actions
github-actions Bot force-pushed the style-doc-code-main branch 5 times, most recently from a6451f6 to a911351 Compare November 13, 2026 22:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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 DESCRIPTION fields 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

@sbreitbart-NOAA
sbreitbart-NOAA merged commit 070faf6 into main Nov 16, 2026
3 checks passed
@sbreitbart-NOAA
sbreitbart-NOAA deleted the style-doc-code-main branch November 16, 2026 15:06
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.

2 participants