-
Notifications
You must be signed in to change notification settings - Fork 52
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: Testing model at initial values Error in if (any(Gradient0 == 0)) { : missing value where TRUE/FALSE needed #286
Comments
Hmm. I just ran using the development branch (which I had installed) and it worked fine. you willing to try the devleopment branch of VAST/FishStatsUtils before I dig more? |
Sure thing. Thank you! |
That worked. Cheers. |
I encountered this error as well. Running age composition for Bering Sea Pacific cod. However, updating the environment did not resolve the issue, and we are restricted on the versions we can use each year. I believe this error is thrown by the function: tmb_list$Obj$gr() To resolve this, I reduced max_cells from Inf to 2000. |
I encountered this error when attempting to run a EOF model (although the example here works fine). I recently updated VAST to its latest version "3.8.2" and FishStatsUtils "2.10.2". Up until last week and using the previous versions of these packages ("3.8.0" and "2.10.0", respectively), I had no problems with my models. Could you kindly provide some imput? |
Do you mind sending me a minimal reproducible example by email? I continue to encapsulate logical calculations in a single pre-processing step, and recently changed some of the "years with no data" calculations from multiple plotting to a single pre-processing step implemented using |
I have a similar problem. I have installed VAST and FishStatsUtils, but when I try to test with the example code in here I get the message "Error in if (any(Gradient0 == 0)) { : missing value where TRUE/FALSE needed" What I am doing wrong? |
have you confirmed that Matrix and TMB have matching versions, e.g., using code here: https://github.com/pfmc-assessments/geostatistical_delta-GLMM/wiki/Steps-to-install-TMB ...? |
Thank you for your reply. I will try your suggestion.
Carlos Díaz
…On Mon, Feb 12, 2024 at 5:59 PM Jim Thorson ***@***.***> wrote:
have you confirmed that Matrix and TMB have matching versions, e.g., using
code here:
https://github.com/pfmc-assessments/geostatistical_delta-GLMM/wiki/Steps-to-install-TMB
...?
—
Reply to this email directly, view it on GitHub
<#286 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGDTJAV3D6OSIV47MNMWQCLYTKUGHAVCNFSM4YTQZGJKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTHE4DCNJVGU4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
********************************************************************************
Carlos Díaz Avalos
Departamento de Probabilidad y Estadística
IIMAS, UNAM
|
I am trying to run the covariate.R example code from the Feb. 2020 VAST training in Seattle, that is available on the google drive here, and written below.
I am getting an error that (any(Gradient0 == 0)) { : missing value where TRUE/FALSE needed. I am using VAST version 3.6.1, that I downloaded on 2021-03-01 from Github (c6c60b7). Session info is below:
version R version 4.0.3 (2020-10-10)
os macOS Big Sur 10.16
system x86_64, darwin17.0
ui RStudio
language (EN)
collate en_CA.UTF-8
ctype en_CA.UTF-8
tz America/St_Johns
date 2021-03-04
Thank you!
The text was updated successfully, but these errors were encountered: