Closed frankschmitt closed 5 years ago
I'll take a look.
This should work now, in the "master" branch. Also, please note that I've made the test suite better, using testthat
, and there are tests that ensure that the present bug is fixed, whether t.stop
is character or POSIXt.
Terrific! I really like the switch to testthat; it makes testing via devtools in RStudio a breeze. I'd like to add some tests for as.burndown() and put in another PR for that if it's ok with you.
Yes, please -- the more tests, the better.
When providing a POSIXct argument to the plot method's t.stop parameter:
the plot cannot be rendered due to the following error:
Apparently, only char arguments are accepted, i.e. this works:
The relevant part of burndown.R:
The documentation states:
which seems to indicate that providing a POSIXct value should actually work. Is this perhaps time zone related? (printing stop in the first approach gives me ""2020-01-31 CET")