-
Notifications
You must be signed in to change notification settings - Fork 12
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
how to deal with dates #84
Comments
working on this in this pkg https://github.com/ropenscilabs/timefuzz |
that's interesting, what's the status on this? |
timefuzz and clock are still in development - working for the most part BUT the problem is that monkey patching in R is not allowed, so to be able to mock time you'd have to import, or at least suggest, clock and maybe timefuzz too - some may not want to add additional imports just to mock time, but some will |
Yeah I suppose that depending on the requests a package makes, mocking time might be crucial! |
e.g.,
works fine on the date its run, but then e.g., the next day it's run the date generated in
Sys.Date()
will be the next day, and then vcr will error and complain that the request doesn't match the fixture infoobar
.vcr/vcr#154 either 1)
before_record
/before_playback
hooks or 2) custom request matcherThe text was updated successfully, but these errors were encountered: