Examples for 'codetools::findGlobals'


Find Global Functions and Variables Used by a Closure

Aliases: findGlobals

Keywords: programming

### ** Examples

findGlobals(findGlobals)
 [1] "{"            "<-"           "=="           "assign"       "c"           
 [6] "collectUsage" "if"           "list"         "ls"           "mkHash"      
[11] "sort"         "unique"      
findGlobals(findGlobals, merge = FALSE)
$functions
 [1] "{"            "<-"           "=="           "assign"       "c"           
 [6] "collectUsage" "if"           "list"         "ls"           "mkHash"      
[11] "sort"         "unique"      

$variables
character(0)

[Package codetools version 0.2-19 Index]