Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in fit$data_list when calling plot() #356

Open
lkghart opened this issue Dec 27, 2022 · 4 comments
Open

Error in fit$data_list when calling plot() #356

lkghart opened this issue Dec 27, 2022 · 4 comments

Comments

@lkghart
Copy link

lkghart commented Dec 27, 2022

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

@James-Thorson-NOAA
Copy link
Owner

Sorry ... I've been pretty backlogged ... did you ever get this sorted?

@lkghart
Copy link
Author

lkghart commented Jan 17, 2023

Hi,

No--the last time that I ran a VAST model, this message came up.

@James-Thorson-NOAA
Copy link
Owner

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.

@lkghart
Copy link
Author

lkghart commented Jan 19, 2023 via email

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

No branches or pull requests

2 participants