R/pseudo_srcref.R
with_pseudo_srcref.RdMost relevant data can be traced to an existing srcref. However, some data, such as test traces from coverage objects, are likely cleaned up and their srcfiles deleted, causing a barrage of warnings any time these objects are printed.
with_pseudo_srcref(call, file, lloc)A with_pseudo_srcref object, mimicking the structure of srcref
A pseudo_srcref adds in the srcref data but continues to preserve the
expression content. This allows these expression objects to be pretty-printed
like srcrefs when included as a list_of_srcref data.frame column.