Most 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
Any code object, most often a call object
A filepath to bind as a srcfile object
A srcef-like lloc numeric vector
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.