I wish R has decorators
Like the title suggested, I want something like decorators in R where you can place the function at the top of the function you just called. I know you can do fn <- nested_fn(function(...) {} but it feels like slightly verbose.
Edit: To be clear, I am aware with function factories, but I wish it has proper syntactic sugar to sympathize that you modify the behavior of the function, for example.