adcomp
adcomp copied to clipboard
Error in rbind; ans1, ans2, ans3 have different column lengths in sdreport()
https://github.com/kaskr/adcomp/blob/520af7b045863b6d0f131b522efa663d3cf5b987/TMB/R/sdreport.R#L416
Error in rbind(ans1, ans2, ans3) :
number of columns of matrices must match (see arg 2)
I get the previous error when running a TMB model because ans1
, ans2
, and ans3
are NULL
but the first two are matrices and the last one is a single value in a vector. Here, the object
is NULL
but the s.has
functions are still being evaluated. Let me know if you need any additional information to fix this error. I am happy to provide an .RData
file or whatever else you need.