eval_expect_equal: Evaluates the expression e in an R and an FL environment,...

Description Usage Arguments Details Value Author(s)

Description

Tests all variables in expectation and new variable names for equality in R and FL environments. Created objects will be in both environments. The results of both expressions will be returned together with benchmarking statistics.

Usage

1
2
3
eval_expect_equal(e, Renv, FLenv, description = NULL, runs = 1,
  expectation = c(), noexpectation = c(), verbose = FALSE,
  platforms = c("TD", "TDAster", "Hadoop"), ...)

Arguments

e

the expression that will be evaluated in both environments

Renv
FLenv
description

if not supplied will default to deparse of the expression

runs

if runs>1 the expressions are evaluated several times. Make sure you do not re-assign the variables in environments that are evaluated on.

expectation

provide variable names to check for equality when environments did already contain these variables.

noexpectation

You can exclude names from

...

arguments passed to FLexpect_equal, e.g. check.attributes = FALSE

Details

TDOD: collect more information: length of sql sent, amount of data fetched

Value

a data frame with the description

Author(s)

Gregor Kappler <gregor.kappler@fuzzylogix.com>


Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.