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

示例:


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

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


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