VAST
VAST copied to clipboard
Error in fit$data_list when calling plot()
I recently updated to VAST 3.10.0, and FishStatsUtils 2.12.0.
When I try to plot output using plot(), most of the figures that I'm used to seeing are there. However, the function runs into an error and ends with this message:
Making quantile residuals using conditional simulation and package DHARMa
Error in fit$data_list : $ operator is invalid for atomic vectors
In addition: Warning message:
In (function (fit, var_name = "D_gct", transform_var = log, k = 4, :
plot_clusters
will go slowly due to large size
I tried updating the the DHARMa package with install.package(), but this did not help.
Does anyone know if there's anything new that I should add to my script? From a related Issues thread, I found that I needed to add Version to make_settings(), since my machine automatically selects "VAST_v14_0_1_TMBad" if I don't specify "VAST_v14_0_1".
Thanks in advance! -Lilian
Sorry ... I've been pretty backlogged ... did you ever get this sorted?
Hi,
No--the last time that I ran a VAST model, this message came up.
Could you try updating to the dev branch of FishStatsUtils and VAST and see if that fixes the issue?
I think I found and fixed an error in amend_output
as called within plot_results
that was using a global call to fit
instead of the passed object.
Thanks Jim! I’ll try that.
-Lilian
On Jan 19, 2023, at 11:52 AM, Jim Thorson @.***> wrote:
Could you try updating to the dev branch of FishStatsUtils and VAST and see if that fixes the issue?
I think I found and fixed an error in amend_output as called within plot_results that was using a global call to fit instead of the passed object.
— Reply to this email directly, view it on GitHub https://github.com/James-Thorson-NOAA/VAST/issues/356#issuecomment-1397592415, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDPNNZGXFYKVADYHFRDERDWTGSP7ANCNFSM6AAAAAATJ76COM. You are receiving this because you authored the thread.