Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calibration_DT no longer supports daily liftAbs data #515

Closed
joangcc opened this issue Oct 20, 2022 · 4 comments
Closed

calibration_DT no longer supports daily liftAbs data #515

joangcc opened this issue Oct 20, 2022 · 4 comments
Assignees

Comments

@joangcc
Copy link

joangcc commented Oct 20, 2022

Project Robyn

Describe issue

Previous versions of Robyn accepted liftStartDate = liftEndDate. However, last version requires liftStartDate < liftEndDate.

Until now, we were using daily liftAbs data, but given this recently added check, Robyn doesn't run. How can we continue using daily data within the current requirements?

Also, what's the reason behind adding those checks for this particular case?

Thanks!

Robyn version

Robyn 3.7.3

@laresbernardo laresbernardo self-assigned this Oct 20, 2022
@joangcc
Copy link
Author

joangcc commented Oct 20, 2022

Where to find this check: lines 514 to 523 of checks.R:
if (temp$liftStartDate >= temp$liftEndDate) { stop(sprintf( paste( "Your calibration's date range for %s between %s and %s should respect liftStartDate < liftEndDate.", "Please, correct this experiment from 'calibration_input'." ), temp$channel, temp$liftStartDate, temp$liftEndDate )) } }

@laresbernardo
Copy link
Collaborator

Hi @joangcc. We did add this check a while ago but you're right, I'll change that check to let users set liftStartDate >= liftEndDate. Actually you replied before I hit enter to this haha so expect this change in the next couple of minutes in our latest dev version

@laresbernardo
Copy link
Collaborator

There you go. Please, update to the latest dev version and you'll be good to go. Thanks for the feedback. Feel free to close this ticket once you test and use it.

@joangcc
Copy link
Author

joangcc commented Oct 20, 2022

Thanks for fixing this so fast. It works now!

@joangcc joangcc closed this as completed Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants