Skip to content

Conversation

@sbreitbart-NOAA
Copy link
Collaborator

Convert "spawning recruitment" to "stock recruitment" as per #172

@github-actions

This comment was marked as off-topic.

@sbreitbart-NOAA sbreitbart-NOAA linked an issue Jan 8, 2026 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Code Metrics Report

Coverage Code to Test Ratio Test Execution Time
67.0% 1:0.1 4m22s

Code coverage of files in pull request scope (77.9%)

Files Coverage
R/plot_stock_recruitment.R 83.3%
R/save_all_plots.R 80.0%
R/utils_rda.R 76.3%

Reported by octocov

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR renames the plot_spawn_recruitment function to plot_stock_recruitment to align with terminology standards per issue #172. The change updates the function name, documentation, and all references throughout the codebase to use "stock recruitment" instead of "spawning recruitment".

  • Renamed function from plot_spawn_recruitment to plot_stock_recruitment
  • Updated documentation titles and descriptions to reflect "Stock Recruit" terminology
  • Updated all function calls and references in tests and comments

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/testthat/test-plot_stock_recruitment.R Updated test names and function calls to use new function name
man/plot_stock_recruitment.Rd Updated roxygen-generated documentation with new function name and terminology
R/utils_rda.R Updated comments referencing the renamed function
R/save_all_plots.R Updated comments referencing the renamed function
R/plot_stock_recruitment.R Renamed function definition and updated all documentation strings
NAMESPACE Updated export statement to reflect new function name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@Schiano-NOAA Schiano-NOAA left a comment

Choose a reason for hiding this comment

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

The changes you made look good. Are there any instances where its referred to incorrectly in the caption or alt text? I requested a copilot review because it might be able to find these things.

@sbreitbart-NOAA
Copy link
Collaborator Author

The changes you made look good. Are there any instances where its referred to incorrectly in the caption or alt text? I requested a copilot review because it might be able to find these things.

I checked and it looked like the caps/alt text were already correct

@Schiano-NOAA
Copy link
Collaborator

Great! Then good to merge

@sbreitbart-NOAA sbreitbart-NOAA merged commit d18553e into main Jan 8, 2026
10 checks passed
@sbreitbart-NOAA sbreitbart-NOAA deleted the spawn-to-stock branch January 8, 2026 21:11
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.

Change naming to stock recruitment

3 participants