GeoLift is an end-to-end geo-experimental methodology based on Synthetic Control Methods used to measure the true incremental effect (Lift) of ad campaign.
Hello @karawoo
Thank you for submitting this error. I will revise it during the week but if you wish to open a PR I will be more than happy to review it
Bug description
If no suitable markets are found at line 1993, the function will print the message but then throw a separate error at line 1998:
https://github.com/facebookincubator/GeoLift/blob/9722f4f295205c0e5a1c7e434cb5ab972cf23675/R/pre_test_power.R#L1993-L1998
Session information
Reproduction steps
Created on 2024-06-07 with reprex v2.1.0
Expected behavior
In other places where no suitable markets are found, the function errors right away. I'd expect the same here.
https://github.com/facebookincubator/GeoLift/blob/9722f4f295205c0e5a1c7e434cb5ab972cf23675/R/pre_test_power.R#L1812 https://github.com/facebookincubator/GeoLift/blob/9722f4f295205c0e5a1c7e434cb5ab972cf23675/R/pre_test_power.R#L1896
Would you be open to me submitting a PR to make line 1993 consistent with these two lines ^ ?