A ScriptInfo object containing information about the expression(s) in
e.
Things tracked include:
filesthe names of any strings used as arguments or literal
values that correspond to file names.
stringsA vector of literal strings which appeared in e
librariesthe names of any libraries explicitly loaded within
this code.
inputsa character vector naming the variables that are used as
inputs to the computations in this collection of expressions.
outputsa character vector giving the names of the variables
that are assigned values in this block of code, including
assignments to elements of a variable, e.g. the variable x in the
expression x[[1]] <- 10
.
updatescharacter vector of variables which receive new values
when evaluating the expression, but must already exist. Note this
does not currently catch some situations, so checking if any symbols
appear in both inputs and outputs is still prudent.
functionsa named logical vector, where the names are the names
of the functions called and the values indicate whether the function
is local (TRUE), from a package (FALSE) or unknown (NA). Note that
this is not recursive.
removesa vector of variables which were removed (via the
rm
function) in e
nsevalVarsA vector of variables which appear in appear in
e
, but which are non-standarly evaluated and thus are not
typical inputs. Note this classification is determined by the
functionhandlers in use by collector
.