You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as_factor<-function(x, ...) {
ellipsis::check_dots_used()
UseMethod("as_factor")
}
as_factor.character<-function(x, ..., y) {
force(y)
x
}
as_factor("x", y=1)
#> Warning: Some components of ... were not used: y#> [1] "x"
Created on 2019-02-18 by the reprex package (v0.2.1.9000)
The text was updated successfully, but these errors were encountered:
f<-function(x, ...) {
ellipsis::check_dots_used()
g(x, ...)
}
g<-function(x, ..., y) {
force(y)
x
}
f("x", y=1)
#> Warning: Some components of ... were not used: y#> [1] "x"
Created on 2019-02-18 by the reprex package (v0.2.1.9000)
Created on 2019-02-18 by the reprex package (v0.2.1.9000)
The text was updated successfully, but these errors were encountered: