View source: R/functionsCanGetGeneric.R
functionsCanGetGeneric | R Documentation |
non-generic functions that can generate generic using "getGeneric"
functionsCanGetGeneric(package, env = as.environment("package:base"))
package |
package name. |
envir |
environment, which can transformed using an attached package name. default is as.environment("package:base") |
the name of non-generic functions that can generate generic functions
using getGeneric
function.
## Not run:
functionsCanGetGeneric()
functionsCanGetGeneric(as.environment("package:methods"))
# In all attached packages
lapply(setNames(rev(search()), rev(search())), function (x){
functionsCanGetGeneric(as.environment(x))})
c("cov") %in% functionsCanGetGeneric(env = as.environment("package:stats"))
c("which.min", "which") %in% functionsCanGetGeneric()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.