R CMD check NOTE: `No visible binding for global variable`, when defining a variable in an S3 generic and using it in a method

前端 未结 0 1294
名媛妹妹
名媛妹妹 2021-02-03 19:51

Consider the following piece of code:

greet <- function(object) {
        greeting <- "hola"
        UseMeth         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题