Closed MichaelChirico closed 1 year ago
check if the current R session needs the workaround at all
that was my thinking behind putting the overwrite inside a conditional. happy to add a "soft cached" check like with(utils::getParseData(parse(text = "'\\1'"))[1, ], col2 - col1)
, but I'm not sure how robust it is.
I don't think the current test is very expensive. e.g. on tools/R/QC.R (longest file in the R sources; nrow(parseData) is ~87K) the test takes 0.016 seconds.
Happy to add the test, just not sure it's worth the maintenance burden, WDYT?
Thanks!
Closes #25