-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathNAMESPACE
More file actions
138 lines (85 loc) · 2.59 KB
/
NAMESPACE
File metadata and controls
138 lines (85 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Imports
import(igraph)
importFrom(tools, file_ext)
importFrom(stats, na.omit)
importFrom(CodeDepends, getInputs, findWhenUnneeded, readScript, getVariableDepends)
importFrom(methods,
is, "body<-", new, slot, getClass, getClasses, as)
importFrom(codetools, walkCode, makeCodeWalker, findGlobals)
importFrom(graphics, plot)
importFrom(utils, object.size)
# Exports from this package
S3method(plot, R6ClassInherits)
export(findLoopConcat)
export(findUnusedArgs, findUnusedParams, findUnusedAssignments)
export(constInputs)
export(removeAfterReturn)
export(removeConstIf)
export(getGlobals, getGlobalFunctions, getScriptGlobals)
export(missingScriptVars)
export(substituteDefaultValues)
export(mkGlobalsLocal)
export(getDepends)
export(loadCode)
export(getFilesRead, findNSE, S3Assignments, mkClassGraph, findUsedOptions)
export(csvTypeInfo)
exportMethods(csvTypeInfo)
export(findCallsParam)
export(getR6ClassInherits)
#XXXX
#export(checkLoopDepend)
# Adding as Matt and I write the Exploring Code chapter of the case studies book.
export(isCallTo, isAssignTo)
export(getArgFromCall)
export(getIfCond, getIfTrue, getIfFalse)
export(pkgSymbolsUsed)
# From the exploration of the variety_trial_analysis project.
# Some duplicates!
#remove from export
# export(findFunctionDefs)
# Use getFunctionDefs()
export(getFunctionDefs)
exportMethods(getFunctionDefs)
# Needed??
export(isFunAssign)
export(isIfFalse)
export(getURLs)
export(freeVariables)
export(findReadDataFuns, findWriteDataFuns, findGraphicsDevFuns)
#export(getGraphicsDeviceCalls)
#export(findCallsToFunctions)
export(getInputFiles, getOutputFiles, getGraphicsOutputFiles)
# Wouldn't findCallsTo() be better?
export(getAllCalls)
S3method(getAllCalls, character)
S3method(getAllCalls, expression)
export(getSourceInfo)
S3method(getSourceInfox, character)
S3method(getSourceInfox, expression)
export(callGraph)
exportMethods(callGraph)
export(findCallsTo)
export(findAssignsTo)
S3method(plot, CallGraphEdges)
export(pkgCodeInfo, fileCodeInfo)
export(findLoops, numNestedLoops)
export(isParameter, isLocalVar)
export(all_symbols, getAllSymbols)
export(mkCallWalkerPred)
export(isSymbol, isLiteral)
export(numCalls, getPkgFunctions)
export(insertLang)
export(isSimpleAssignTo, isComplexAssignTo)
export(returnsFunction)
export(getIndirectCallFunList)
export(findLiterals)
export(getCallPaths)
export(toc,dynToc)
export(usesDots)
export(mkModifyCodeWalker)
export(genRemoveCode, genAddArgsToCalls, genRewriteVars)
export(extractFunctions)
export(findNamedFunctions)
export(getRFiles)
export(numTerms, getTerms)
export(getAttributeNames)