Skip to content

Conversation

@Schiano-NOAA
Copy link
Collaborator

Summary

convert_output() was a previous export from asar. Over time, we have found that the functions in this package are more dependent on the converted output and would fit better in {stockplotr} than {asar}. The files from {asar} have been moved from asar to this repo including:

  • the function
  • its documentation
  • relevant tests
  • vignette describing the function
  • std naming files for compatible models

References to this function within asar or stockplotr have been changed (i.e. asar::convert_output() --> stockplotr::convert_output()

What to know

  • Users will need to be informed of this change
  • Repository checks will fail since some of the information and links are dependent on this being merged into the main branch rather than this branch
  • Development branches located in asar will need to be moved to this repo (but only for the function changes)

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 migrates the convert_output() function from the {asar} package to {stockplotr}, reflecting that the function is more appropriate for this package given dependencies. The migration includes the function code, documentation, tests, vignette, and supporting naming convention files for SS3, BAM, and FIMS models.

Key Changes:

  • Added convert_output() function to standardize assessment model output across different formats
  • Included comprehensive vignette explaining the standardization process and naming conventions
  • Added test suite and fixture preparation scripts for SS3 models
  • Added CSV files with standard naming conventions for SS3, BAM, and FIMS models

Reviewed changes

Copilot reviewed 11 out of 31 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
R/convert_output.R Main function implementation for converting assessment model outputs to standardized format
tests/testthat/test-convert_output.R Test suite for convert_output function with SS3 model tests
tests/testthat/fixtures/prepare_ss3_output_files.R Test fixture preparation script for downloading and running SS3 models
vignettes/convert_output_details.Rmd Comprehensive documentation of standardization process and naming conventions
man/convert_output.Rd Generated documentation for convert_output function
man/stockplotr-package.Rd Updated package documentation with r-universe link
inst/resources/ss3_var_names.csv SS3 variable name standardization mappings
inst/resources/fims_var_names.csv FIMS variable name standardization mappings
inst/resources/bam_var_names.csv BAM variable name standardization mappings
pkgdown/_pkgdown.yml Added vignette link to package website navigation
NAMESPACE Added convert_output to exported functions

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

@Schiano-NOAA Schiano-NOAA marked this pull request as ready for review December 30, 2025 20:29
@github-actions
Copy link
Contributor

New version checklist

  • Package version in DESCRIPTION has been updated
  • Release notes have been drafted/published
  • Cheatsheet content has been updated (if applicable)
  • Cheatsheet version has been updated

@github-actions
Copy link
Contributor

New version checklist

  • Package version in DESCRIPTION has been updated
  • Release notes have been drafted/published
  • Cheatsheet content has been updated (if applicable)
  • Cheatsheet version has been updated

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