Error in compileTransProbs(dabom_mod, parent_child) :
!is.null(configuration) is not TRUE
I see that calcTribEscape_GRA() in the npt_develop branch uses the compileTransProbs() function with the arguments dabom_mod and parent_child. But looking at the compileTransProps() function I see it also accepts the configuration argument.
Does the calcTribEscape_GRA() need to be updated to include the configuration argument in compileTransProbs()? Alternatively, maybe calcTribEscape_GRA() just needs to inherit the parameters from compileTransProbs()? I'll continue to investigate, but wanted to write out my thoughts before I leave for the day.
It does appear that older versions of compileTransProbs() does not include the configuration argument in older versions, so maybe this was just a minor oversight in recent updates.
I've attempted to use the
calcTribEscape_GRA()
function in thenpt_develop
branch ofDABOM
to no avail. My code chunk is as follows:However, I get the error:
I see that
calcTribEscape_GRA()
in thenpt_develop
branch uses thecompileTransProbs()
function with the argumentsdabom_mod
andparent_child
. But looking at thecompileTransProps()
function I see it also accepts theconfiguration
argument.Does the
calcTribEscape_GRA()
need to be updated to include theconfiguration
argument incompileTransProbs()
? Alternatively, maybecalcTribEscape_GRA()
just needs to inherit the parameters fromcompileTransProbs()
? I'll continue to investigate, but wanted to write out my thoughts before I leave for the day.It does appear that older versions of
compileTransProbs()
does not include theconfiguration
argument in older versions, so maybe this was just a minor oversight in recent updates.