Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upceiling_date doesn't work if NA present #486
Comments
|
Hi, I think we could make it work changing the subsetting with:
There is no error on subsetting this way and @vspinu, if you are ok with this fix I could make a PR adding some test. |
As of version
1.6.0,ceiling_datestopped working if the vector containsNAand unitminute,hour, orday(used to work in1.5.6)These are the offending lines in
round.R(ifnewornew1containNA):