Skip to content

[fix]: Fix all existing build warnings with the pkg - #474

Merged
Schiano-NOAA merged 5 commits into
nmfs-ost:mainfrom
ericward-noaa:fix-check-warnings
Nov 10, 2026
Merged

Schiano-NOAA merged 5 commits into
nmfs-ost:mainfrom
ericward-noaa:fix-check-warnings

Conversation

@ericward-noaa

@ericward-noaa ericward-noaa commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

…package

What is the feature?

There's a number of warnings / notes, unrelated to my changes that have not been fixed previously

How have you implemented the solution?

Debugging / markdown fixes / etc

Does the PR impact any other area of the project, maybe another repo?

PR contribution checklist

Thank you for contributing to stockplotr! Please check the boxes below to confirm this pull request (PR) is ready for review. Edit this PR description to add the release indicator and any explanations.

  • I have read and adhered to the contributor guide.
  • I have kept this PR focused on one plot where applicable. For multiple features, I have used separate PRs (stacked PRs are welcome if needed).
  • I have aimed to keep this PR to no more than 750 lines, excluding tests and example data (for example, up to 750 lines for a new function).
  • If I have provided an example dataset, I have explained why the existing sample datasets are not sufficient.
  • I have tested that my changes are compatible with all example outputs in the "data" folder (example_data.rda; pollock.rda; ss3_simple.rda; vermilion_snapper.rda).
  • If I didn't follow the development workflow, I have explained why in this PR.
  • If applicable, I've added the plot to save_all_plots() and updated the associated tests in test-save_all_plots.R.
  • After opening this PR, I have checked that my own tests and spellcheck pass (spelling::spell_check_package()). If other checks fail, I have flagged them for the package maintainers to help diagnose and remedy.
  • I have requested review from one package maintainer (Sam or Sophie).

@ericward-noaa ericward-noaa changed the title This branch is just meant to fix all exiting build warnings with the … [bug]: This branch is just meant to fix all exiting build warnings with the … Nov 7, 2026
@ericward-noaa

Copy link
Copy Markdown
Contributor Author

@Schiano-NOAA @sbreitbart-NOAA ready for reivew. Largely package cleanup unrelated to other commits

@ericward-noaa
ericward-noaa marked this pull request as draft November 7, 2026 16:56
- remove global utils
- add write.csv to imports
- import(rlang, .data)
- typo in deprecated
@sbreitbart-NOAA sbreitbart-NOAA changed the title [bug]: This branch is just meant to fix all exiting build warnings with the … [fix]: Fix all exiting build warnings with the pkg Nov 9, 2026
@sbreitbart-NOAA
sbreitbart-NOAA marked this pull request as ready for review November 9, 2026 15:59
Comment thread R/data.R Resolved

@sbreitbart-NOAA sbreitbart-NOAA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for addressing these errors/warnings! I had made an issue to do this in the future but am glad you addressed it first! There's one minor outstanding formatting change, but otherwise this LGTM, though we'll see if @Schiano-NOAA has thoughts before merging.

@sbreitbart-NOAA sbreitbart-NOAA linked an issue Nov 9, 2026 that may be closed by this pull request
Updated documentation for the 2018 Gulf of Alaska Pollock stock assessment output to clarify the use of stockplotr.
@ericward-noaa ericward-noaa changed the title [fix]: Fix all exiting build warnings with the pkg [fix]: Fix all existing build warnings with the pkg Nov 9, 2026
Comment thread R/table_biomass_abundance_catch.R Resolved

@Schiano-NOAA Schiano-NOAA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This generally looks good to me as well. I am confused about the necessity of .data when pulling unit when unit is a column in the standard data frame. This would function like interacting with any other column, no?

Kind of a non-issue but I am curious

@Schiano-NOAA
Schiano-NOAA merged commit ea3214b into nmfs-ost:main Nov 10, 2026
10 checks passed
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.

Address R cmd check warnings

4 participants