join_on_containing_srcrefs {covtracer} | R Documentation |
Join srcref data.frames by intersection of srcref spans
Description
References to source code are defined by the source code line and column span of the relevant source code. This function takes data frames containing that information to pair source code in one data frame to source code from another. In this case, source code from the left hand data frame is paired if it is entirely contained within a record of source code in the right hand data frame.
Usage
join_on_containing_srcrefs(x, y, by = c(srcref = "srcref"))
Arguments
x |
A |
y |
A |
by |
A named |
Value
A data.frame
of x
joined on y
by spanning srcref