After the model fitting within VAST_do, I have been running into an error with the diagnostic function FishStatsUtils::plot_results. The error says:
Plotting quantile residuals
Error in ans[npos] <- rep(no, length.out = len)[npos] :
replacement has length zero
In addition: Warning message:
In rep(no, length.out = len) : 'x' is NULL so the result will be NULL
I suspect the issue is from a change in the required inputs to the plot_results funciton in FishStatsUtils that we need to modify to match. However, I have not put any additional effort in figuring out the exact cause.
After the model fitting within VAST_do, I have been running into an error with the diagnostic function FishStatsUtils::plot_results. The error says:
Plotting quantile residuals
Error in ans[npos] <- rep(no, length.out = len)[npos] :
replacement has length zero
In addition: Warning message:
In rep(no, length.out = len) : 'x' is NULL so the result will be NULL
I suspect the issue is from a change in the required inputs to the plot_results funciton in FishStatsUtils that we need to modify to match. However, I have not put any additional effort in figuring out the exact cause.