powered by
Checks valid methods and issues a friendlier error message in case the method is undefined for the supplied object type.
friendly_class_undefined_message(object_class, function_name)
character describing the object class
character which is the function name
# NOT RUN { # as.tokens.default <- function(x, concatenator = "", ...) { # stop(quanteda:::friendly_class_undefined_message(class(x), "as.tokens")) # } # }
Run the code above in your browser using DataLab