debug.variable.type: Type changes

Description Usage Arguments Value Examples

Description

This function show how a variable's type has changed throughout execution of a script

Usage

1
debug.variable.type(..., just.logical = F)

Arguments

...

Variables to find the type for. Can be single elements or vectors/lists.

just.logical

Determines whether or not to display only if the variable has changed or what the actual values were throughout execution

Value

Returns one of two things. If no parameters were passed to the function then a vector of possible variables will be returned. If variables were passed to the function then a list of data frames is returned. Each data frame corresponds to one of the variables. The names of the list will correspond to the variable passed

Examples

1
2
3
4
5
6
7
8
## Not run: 
debug.init("example.R")
debug.variable.type("x")
l <- c("x", "y", "foo", "bar")
debug.variable.type(l)
debug.variable.type(l, "z", just.logical = T)

## End(Not run)

jwons/provDebugR documentation built on May 3, 2019, 3:40 p.m.