Closed markfairbanks closed 2 years ago
Good for review.
Also does anyone have an idea what this check failure is caused by? 🤷♂️
My guess is that since the output of expr({...})
has a "srcref" attribute, covr treats it as a separate source file to check. You can either use call2
instead (whose output doesn't have that attribute) or use i <- rlang::zap_srcref(i)
after to get rid of the attribute.
Thanks for figuring out that test @eutwt 😄
See #377