You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there is a simple explanation why functions created with function have a srcref attribute, whereas function created with f don't, but their bodies do. To add a touch of mystery, using f in a do.call inside another function makes even the body attributes go away. That means it's hard to use covr with pryr as the srcref attribute is used in that library. It'd be nice if function and f were absolutely interchangeable, in an ideal world. Thanks
I was wondering if there is a simple explanation why functions created with
function
have a srcref attribute, whereas function created with f don't, but their bodies do. To add a touch of mystery, using f in a do.call inside another function makes even the body attributes go away. That means it's hard to usecovr
withpryr
as the srcref attribute is used in that library. It'd be nice iffunction
andf
were absolutely interchangeable, in an ideal world. ThanksThe text was updated successfully, but these errors were encountered: