Closed jaganmn closed 5 months ago
Thanks @jaganmn !
Thanks - CRAN will probably want a patched version of TMB in the next 1-2 weeks, since at least one reverse dependency of TMB is now failing its check: https://cran.r-project.org/web/checks/check_results_epigrowthfit.html
gadget3
is also failing checks due to the above: https://cran.r-project.org/web/packages/gadget3/index.html - thanks for already applying a fix.
A new release next week would be appreciated, although we could also remove the offending examples if need be.
@jaganmn and @lentinj FYI I've just subitted TMB-1.9.13 to CRAN.
The change seems to at least cause problems with "reports":
A patch along these lines should fix it ... ?
Well, you could instead test in R with
typeof(ADFun$ptr) == "externalptr" && isNullPointer(ADFun$ptr)
...