You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: single bam file not being converted with convert_output() #520
where it is evaluated as FALSE and it does not enter the final else statement to assign model to "bam". I get the following error
Error in `map2()`:
i In index: 1.
i With name: model_1.
Caused by error in `.f()`:
! object 'model' not found
Run `rlang::last_trace()` to see where the error occurred.
Describe how to reproduce the bug
I am running the scamp FIMS case study with
rdat_file_name <- file.path(data_directory, "scamp32o.rdat")
output_bam <- stockplotr::convert_output(rdat_file_name, model = "bam")
but you should get the same error with any .rdat file because I did check that the file exists.
Screenshots
No response
Which OS are you seeing the problem on?
No response
Which version of stockplotr are you seeing the problem on?
Activity
Schiano-NOAA commentedon Nov 19, 2026
Thanks for IDing this. I put in a fix this morning for this and it will be merged in with the age_to_length_conversion plot PR #512