报告当前范围内未使用的变量。 这些变量非必要,可以移除。

示例:


my_func  <- function(a) {
  x  <- 3
  return (a^2)
}

x 变量未使用,可以移除:


my_func  <- function(a) {
  return (a^2)
}