ices-tools-dev / RDBEScore

Provides functions to work with the Regional Database & Estimation System (RDBES)
https://ices-tools-dev.github.io/RDBEScore/
GNU General Public License v3.0
0 stars 4 forks source link

Test renameSpeciesSA function in WGRDBES-EST/personal/Kasia/renameSpeciesSA.R #199

Closed rix133 closed 1 month ago

rix133 commented 1 month ago

We need to test the renameSpeciesSA function to ensure it correctly renames species codes in the SA table based on the species list in SL and add it to the main code base.

See also #177 #176

Recent Changes:

Commit 664a41a: vignette renameSA by Kasia-MIR. Commit 08607c3: #86 #177 by Kasia-MIR. Function Definition:

You can view the file here.

Tasks:

Run the renameSpeciesSA function with sample data. Validate the output to ensure species codes are correctly renamed. Report any issues or unexpected behavior. Let's proceed with creating this issue in the repository.

davidcurrie2001 commented 1 month ago

I have moved the function to the R folder and started to write tests

davidcurrie2001 commented 1 month ago

Renamed function to renameSpeciesSA() to updateSAwithTaxonFromSL()

davidcurrie2001 commented 1 month ago

Updated vignette and added it to the package