-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Milestone
Description
Line 65 in b4747a3
if (inherits(x, "function") && !inherits(x, "lintr_function")) { |
let's use is.function(x)
instead?
f = lm
class(f) = 'boo'
inherits(f, 'function')
# [1] FALSE
is.function(f)
# [1] TRUE
Originally posted by @MichaelChirico in #1015 (comment)
Metadata
Metadata
Assignees
Labels
No labels