R/utils.R

Defines functions mask_name pronoun_var_name

pronoun_var_name <- function(expr) {
  expr_args <- call_args(expr)
  expr_args[[2]]
}


mask_name <- function(expr) {
  if (quo_is_call(expr)) {
    pronoun_var_name(expr)
  } else {
    as_name(expr)
  }
}

Try the ROCnGO package in your browser

Any scripts or data that you put into this service are public.

ROCnGO documentation built on Aug. 8, 2025, 6:07 p.m.