R/tag-method.r

setClass("MethodTag", contains = "Tag")

setMethod("value<-", "MethodTag", function(tag, value) {
  message("@method is deprecated. S3 methods are now detected automatically.")
  tag
})
hadley/roxygen3 documentation built on May 17, 2019, 12:16 p.m.