79539370

Date: 2025-03-27 15:49:55
Score: 1
Natty:
Report link

I really like the rlang functions to achieve this:

my_fun <- function(){
   rlang::call_name(call = rlang::current_call())
}

my_fun()
#> [1] "my_fun"

Created on 2025-03-27 with reprex v2.1.1

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Balthasar