Bug seems to be there already in CAMPSIS v0.8 but the slowness is amplified in CAMPSIS v0.9 due new argument 'scenarios' in the simulate method.
After investigation, the issue is, again, the R method .findInheritated method and appears at the second iteration of events.
The table provided for the second iteration has a first class: "grouped_df".
The fix is simply to return a "tbl_df" (i.e. call ungroup() ).
Bug seems to be there already in CAMPSIS v0.8 but the slowness is amplified in CAMPSIS v0.9 due new argument 'scenarios' in the simulate method.
After investigation, the issue is, again, the R method .findInheritated method and appears at the second iteration of events. The table provided for the second iteration has a first class: "grouped_df".
The fix is simply to return a "tbl_df" (i.e. call ungroup() ).