Sorry, that's just a typo here. Our system is locked down so I can't copy/paste out of it. This means I had to type it in manually unfortunately. I'll update my question to remove that typo.
For lack of a reproducible example, called a reprex, I took a guess from your question that your source data was character. If you want to recast DATE1 as a date object, see lubridate
I'm not aware of anything that R 3.4.3 that would throw the message you're getting in connection with dplyr::filter, but it's possible that dplyr and rlang are not at compatible version levels. If the Gods of IT permit it, try updating those packages.
About a version behind,
R is 3.4.3 and dplyr_0.7.4 it seems.
I tried reinstalling all the packages first before posting, that did not work. In addition, I tried the rlang portion as indicated when you google that error from StackOverflow. Worst part of this, exact same system was rolled out to two users on same OS with same permissions and only one of them works.
I realize your patience for debugging this problem may have been exceeded, but do you have a link to the SO answer you have in mind? I can find a number of SO questions related to different Error(s) in filter_impl(.data, quo), but I'm not coming up with any related to your specific error.
I have a deadline to meet..which I'm already past and this isn't helping so not much of a choice.
If there's somewhere else to look up these errors or another process to debug I'd be happy to know about it. I've been programming for more than 25 years so I'm pretty decent most of the time...this however has not worked.
Edit:
Other approaches I've tried including reading date as character and then just substringng the date. Or even listing all dates but anything seems to generate these errors which is why I think it's package issues somewhere that isn't really solveable at this point without either reinstalling everything or some other major change - none of which I can do at this time due to administrative rights lockdown.
Dependency hell on a deadline is absolutely the worst. I'm sorry.
I agree, I think the most likely issue is mismatched package versions, and having to work within your locked down system constraints definitely makes it all harder. I'm still not clear on what package versions you have installed right now, other than dplyr 0.7.4. Any chance you could do a screenshot of the output of running library(dplyr) followed by sessionInfo()?
I'll admit that this is probably not going to help you right now, so I understand completely if you prefer to drop it.
Interesting! I suspect the problem here is that your rlang is too new for your dplyr. You seem to have wound up with a funny mishmash of tidyverse-related package versions. dplyr 0.7.4 was current back in late 2017, when rlang was at 0.1.4 and the then-current version of the tidyverse umbrella package was 1.2.0.
Looking at your installed package versions, some packages are consistent with the up-to-this-minute latest:
I'm hypothesizing that your specific error above might go away if you were able to downgrade rlang back to the version that was current when dplyr was at 0.7.4 — but that would almost certainly break some of the other packages that are actually up to date (e.g., ggplot2).
rlang has been under rapid and momentous development over the last two years, and the tidyverse as a whole has been moving toward ever-greater integration with the newer rlang paradigms. So I think you'd ultimately be better off bringing all of your tidyverse packages up to date (or arguing to the powers-that-be for doing so!).
Observation: dates in yyyy-mm-dd format will sort correctly whether they are text or actual Dates, so you could avoid the as.POSIXct thing entirely and just keep everything as text (if that's how it was to begin with). If it is greater than 2018-01-01 as a date, it is also greater than "2018-01-01" as text, and conversely.