You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obj$report() doesn't seem to work when MakeADFun(..., intern=TRUE)
Reproducible Steps:
It appears that when intern=TRUE, the obj$env$random and obj$env$last.par are no longer visible. This then appears to cause a problem in obj$report() using the default argument par = last.par.
I think the issue was already resolved for obj$env$parList() where it internally is replacing obj$report() with as.list(obj$env$reportenv). Could obj$report() also be redefined along these lines?
Current Output:
obj$report() throws an error message "Wrong parameter length."
Expected Output:
normal tagged list of REPORTed vars.
TMB Version:
GitHub master branch install
R Version:
R version 4.1.0 (2021-05-18)
Operating System:
Windows
The text was updated successfully, but these errors were encountered:
Description:
obj$report()
doesn't seem to work whenMakeADFun(..., intern=TRUE)
Reproducible Steps:
It appears that when
intern=TRUE
, theobj$env$random
andobj$env$last.par
are no longer visible. This then appears to cause a problem inobj$report()
using the default argumentpar = last.par
.I think the issue was already resolved for
obj$env$parList()
where it internally is replacingobj$report()
withas.list(obj$env$reportenv)
. Couldobj$report()
also be redefined along these lines?Current Output:
obj$report()
throws an error message "Wrong parameter length."Expected Output:
normal tagged list of
REPORT
ed vars.TMB Version:
GitHub master branch install
R Version:
R version 4.1.0 (2021-05-18)
Operating System:
Windows
The text was updated successfully, but these errors were encountered: