Open nanxstats opened 10 months ago
This error becomes more prevalent since the breaking change on default values for T
and minfup
in gsDesign 3.6.0. I got another inquiry today about this error because some old code can't run - obviously, T
and minfup
were not explicitly specified before in the gsSurv()
call, so they inherited the new defaults which cannot satisfy the constraint.
When the length of the enrollment rates vector
gamma
/R
is accidentally set to be longer thanT - minfup
, for example:This yields the cryptic error message:
Perhaps the reason is obvious (discrete time unit?), we should probably handle this exception in the logic explicitly.